Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008303/0.0008303, allocations: 99.59 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009316/0.0009319, allocations: 174 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.659/2.659, allocations: 390.4 MB / 0.6662 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 8 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9062/0.9065, allocations: 142.3 MB / 0.9544 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003605/0.9102, allocations: 3.229 MB / 0.9575 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003765/0.914, allocations: 2.378 MB / 0.9599 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004378/0.9145, allocations: 12.28 kB / 0.9599 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000752/0.9152, allocations: 212 kB / 0.9601 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009121/0.9162, allocations: 439 kB / 0.9605 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.9174, allocations: 432.8 kB / 0.9609 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001429/0.9188, allocations: 1.315 MB / 0.9622 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.919, allocations: 119.3 kB / 0.9623 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005471/0.9196, allocations: 382.5 kB / 0.9627 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006541/0.9203, allocations: 0.4944 MB / 0.9631 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.637e-05/0.9204, allocations: 35.41 kB / 0.9632 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.9205, allocations: 39.81 kB / 0.9632 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.9208, allocations: 315.5 kB / 0.9635 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.921, allocations: 191.8 kB / 0.9637 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.9215, allocations: 0.6912 MB / 0.9644 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.9215, allocations: 0.9375 kB / 0.9644 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9215, allocations: 4 kB / 0.9644 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.9215, allocations: 0 / 0.9644 GB, free: 0.8203 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001936/0.9235, allocations: 1.148 MB / 0.9655 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.9235, allocations: 12.69 kB / 0.9655 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.9237, allocations: 105.9 kB / 0.9656 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.9252, allocations: 0.6218 MB / 0.9662 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.052e-05/0.9252, allocations: 40.78 kB / 0.9663 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.9254, allocations: 62.19 kB / 0.9663 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008934/0.9263, allocations: 407.2 kB / 0.9667 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.9263, allocations: 4 kB / 0.9667 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.921e-05/0.9264, allocations: 16.28 kB / 0.9667 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.9264, allocations: 8.094 kB / 0.9667 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006215/0.927, allocations: 242.8 kB / 0.967 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/0.9308, allocations: 2.51 MB / 0.9694 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.9323, allocations: 0.5499 MB / 0.97 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.9326, allocations: 164.5 kB / 0.9701 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.9327, allocations: 3.75 kB / 0.9701 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.9327, allocations: 40.14 kB / 0.9702 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.354e-06/0.9327, allocations: 0 / 0.9702 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.001794/0.9345, allocations: 0.8966 MB / 0.971 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.9346, allocations: 55.53 kB / 0.9711 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.9359, allocations: 0.9184 MB / 0.972 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.974e-05/0.9359, allocations: 40.89 kB / 0.972 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.9363, allocations: 361.8 kB / 0.9724 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.9364, allocations: 121.6 kB / 0.9725 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.9364, allocations: 16.22 kB / 0.9725 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.9366, allocations: 392.5 kB / 0.9729 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/0.9371, allocations: 246 kB / 0.9731 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007087/0.9378, allocations: 0.6343 MB / 0.9737 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005734/0.9384, allocations: 341.9 kB / 0.9741 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.9384, allocations: 4.156 kB / 0.9741 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001821/0.9402, allocations: 1.02 MB / 0.9751 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.9403, allocations: 14.09 kB / 0.9751 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.612e-05/0.9403, allocations: 15.34 kB / 0.9751 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005302/0.9408, allocations: 126.7 kB / 0.9752 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007659/0.9416, allocations: 187.3 kB / 0.9754 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004744/0.9464, allocations: 4.163 MB / 0.9794 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.9479, allocations: 115.7 kB / 0.9796 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.199e-05/0.948, allocations: 40.28 kB / 0.9796 GB, free: 4.434 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000567/0.9486, allocations: 273.5 kB / 0.9799 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.9488, allocations: 83.86 kB / 0.9799 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.949, allocations: 74.44 kB / 0.98 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.949, allocations: 7.953 kB / 0.98 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.88e-05/0.949, allocations: 1.469 kB / 0.98 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.9491, allocations: 3.984 kB / 0.98 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.9503, allocations: 0.6514 MB / 0.9807 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.9503, allocations: 1.281 kB / 0.9807 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003491/0.9506, allocations: 68.5 kB / 0.9807 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/0.951, allocations: 102.8 kB / 0.9808 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.9511, allocations: 7.75 kB / 0.9808 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003883/0.955, allocations: 4.146 MB / 0.9849 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.955, allocations: 1.375 kB / 0.9849 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.9563, allocations: 0.7406 MB / 0.9856 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/0.9567, allocations: 207.9 kB / 0.9858 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.813e-05/0.9568, allocations: 8 kB / 0.9858 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.9573, allocations: 27.92 kB / 0.9858 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.695e-05/0.9574, allocations: 31.89 kB / 0.9859 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.9574, allocations: 8 kB / 0.9859 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008868/0.9583, allocations: 0.6122 MB / 0.9865 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9583, allocations: 0 / 0.9865 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001084/0.9594, allocations: 267.8 kB / 0.9867 GB, free: 13.45 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001596/0.9595, allocations: 115 kB / 0.9868 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00148/0.961, allocations: 0.9208 MB / 0.9877 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.961, allocations: 0 / 0.9877 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006562/0.9617, allocations: 0.5195 MB / 0.9882 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009481/0.9627, allocations: 179.2 kB / 0.9884 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.9656, allocations: 2.1 MB / 0.9905 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006562/0.9663, allocations: 0.9917 MB / 0.9914 GB, free: 8.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.9664, allocations: 51.44 kB / 0.9915 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of SimCode: time 2.124e-06/0.9665, allocations: 0 / 0.9915 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of Templates: time 0.02361/0.9901, allocations: 17.48 MB / 1.009 GB, free: 6.98 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2CalcHelperMain.o OMCppBuildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2CalcHelperMain.o] Error 1