Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfWater.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/Chemical 1.4.0/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009319/0.0009319, allocations: 102.7 kB / 15.71 MB, free: 460 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.0015/0.001501, allocations: 175.6 kB / 16.58 MB, free: 6.863 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.586/1.586, allocations: 223.2 MB / 240.6 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.2523/0.2523, allocations: 15.26 MB / 307 MB, free: 15.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003852, allocations: 15.98 kB / 372.1 MB, free: 4.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4925/0.4929, allocations: 54.61 MB / 426.7 MB, free: 40.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfWater): time 0.005606/0.4986, allocations: 3.22 MB / 429.9 MB, free: 39.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00698/0.5056, allocations: 4.35 MB / 434.3 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.5061, allocations: 13.72 kB / 434.3 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004885/0.5066, allocations: 95.86 kB / 434.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.5077, allocations: 400.6 kB / 434.8 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.5093, allocations: 431.3 kB / 435.2 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008054/0.5101, allocations: 0.5335 MB / 435.7 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004742/0.5106, allocations: 280.1 kB / 436 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000276/0.5109, allocations: 229.2 kB / 436.2 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000397/0.5113, allocations: 278 kB / 436.5 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.279e-05/0.5114, allocations: 25.56 kB / 436.5 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.5124, allocations: 427.8 kB / 436.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.5126, allocations: 86.55 kB / 437 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.5127, allocations: 122.8 kB / 437.1 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009538/0.5137, allocations: 0.7597 MB / 437.9 MB, free: 36.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.5137, allocations: 4 kB / 437.9 MB, free: 36.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.917e-06/0.5137, allocations: 0 / 437.9 MB, free: 36.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.5137, allocations: 3.344 kB / 437.9 MB, free: 36.15 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001409/0.5151, allocations: 0.7637 MB / 438.7 MB, free: 35.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.5152, allocations: 13.91 kB / 438.7 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003803/0.5156, allocations: 87.84 kB / 438.8 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.5161, allocations: 347.6 kB / 439.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.5161, allocations: 36.56 kB / 439.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.91e-05/0.5162, allocations: 49.88 kB / 439.2 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007856/0.517, allocations: 449.5 kB / 439.6 MB, free: 35.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.5171, allocations: 0 / 439.6 MB, free: 35.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.5171, allocations: 19.31 kB / 439.7 MB, free: 35.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.5171, allocations: 9.562 kB / 439.7 MB, free: 35.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008608/0.518, allocations: 0.5099 MB / 440.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002536/0.5206, allocations: 1.533 MB / 441.7 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008094/0.5214, allocations: 374.6 kB / 442.1 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.5216, allocations: 123.5 kB / 442.2 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002185/0.5238, allocations: 1.535 MB / 443.7 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.5239, allocations: 45.08 kB / 443.8 MB, free: 32.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/0.5239, allocations: 0 / 443.8 MB, free: 32.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.0135/0.5374, allocations: 2.383 MB / 446.2 MB, free: 31.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.5375, allocations: 61.59 kB / 446.2 MB, free: 31.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.5379, allocations: 288.2 kB / 446.5 MB, free: 31.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.5379, allocations: 29.7 kB / 446.5 MB, free: 31.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.5381, allocations: 278.5 kB / 446.8 MB, free: 30.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.653e-05/0.5382, allocations: 109.2 kB / 446.9 MB, free: 30.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.5382, allocations: 11.94 kB / 446.9 MB, free: 30.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.5383, allocations: 346.3 kB / 447.3 MB, free: 30.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.5385, allocations: 134.2 kB / 447.4 MB, free: 30.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.5388, allocations: 256.9 kB / 447.6 MB, free: 30.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.5391, allocations: 173.5 kB / 447.8 MB, free: 30.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.5391, allocations: 0 / 447.8 MB, free: 30.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003756/0.5429, allocations: 0.8166 MB / 448.6 MB, free: 29.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.5429, allocations: 10.86 kB / 448.6 MB, free: 29.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.5429, allocations: 13.61 kB / 448.6 MB, free: 29.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003214/0.5462, allocations: 424.4 kB / 449.1 MB, free: 29.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.5464, allocations: 79.02 kB / 449.1 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005777/0.5522, allocations: 3.728 MB / 452.9 MB, free: 26.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/0.5527, allocations: 22.75 kB / 452.9 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.5528, allocations: 22.11 kB / 452.9 MB, free: 26.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 5} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000332/0.5531, allocations: 178.6 kB / 453.1 MB, free: 26.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/0.5532, allocations: 38.64 kB / 453.1 MB, free: 26.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004589/0.5578, allocations: 0.8519 MB / 454 MB, free: 26.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5578, allocations: 3.094 kB / 454 MB, free: 26.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5579, allocations: 3.953 kB / 454 MB, free: 26.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.5579, allocations: 0 / 454 MB, free: 26.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008148/0.5587, allocations: 0.6224 MB / 454.6 MB, free: 25.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5587, allocations: 3 kB / 454.6 MB, free: 25.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.5589, allocations: 53.36 kB / 454.7 MB, free: 25.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004211/0.5631, allocations: 0.5042 MB / 455.2 MB, free: 25.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.5632, allocations: 13.58 kB / 455.2 MB, free: 25.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006225/0.5694, allocations: 4.944 MB / 460.1 MB, free: 21.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.5694, allocations: 7.406 kB / 460.1 MB, free: 21.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004854/0.5743, allocations: 1.131 MB / 461.3 MB, free: 20.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.5745, allocations: 111.2 kB / 461.4 MB, free: 20.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.5746, allocations: 12.03 kB / 461.4 MB, free: 20.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.5749, allocations: 11.72 kB / 461.4 MB, free: 20.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.575, allocations: 50.59 kB / 461.4 MB, free: 20.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.5751, allocations: 19.05 kB / 461.5 MB, free: 20.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002374/0.5753, allocations: 204 kB / 461.7 MB, free: 20.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5753, allocations: 0 / 461.7 MB, free: 20.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001024/0.5763, allocations: 233.8 kB / 461.9 MB, free: 20.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (liquidWater.amountOfBonds,liquidWater.logn) * 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 (29): * Single equations (assignments): 26 * 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: 1 {(3,77.8%) 5} * Non-linear torn systems: 2 {1 1,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000591/0.5769, allocations: 276.1 kB / 462.2 MB, free: 20.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.5783, allocations: 0.6837 MB / 462.8 MB, free: 19.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.5784, allocations: 3.938 kB / 462.8 MB, free: 19.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008617/0.5792, allocations: 0.6194 MB / 463.5 MB, free: 19.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/0.5799, allocations: 95.33 kB / 463.6 MB, free: 19.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.5819, allocations: 1.279 MB / 464.8 MB, free: 18.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.5823, allocations: 0.8239 MB / 465.7 MB, free: 17.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.5826, allocations: 78.83 kB / 465.7 MB, free: 17.68 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5826, allocations: 0 / 465.7 MB, free: 17.68 MB / 350.1 MB Notification: Performance of Templates: time 0.02311/0.6057, allocations: 11.99 MB / 477.7 MB, free: 14.51 MB / 350.1 MB make -j1 -f Chemical_Chemical.Examples.HeatingOfWater.makefile make -j1 -f Chemical_Chemical.Examples.HeatingOfWater.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 OMCppChemical_Chemical.Examples.HeatingOfWaterCalcHelperMain.o OMCppChemical_Chemical.Examples.HeatingOfWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.HeatingOfWaterCalcHelperMain.o] Error 1