Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8496/0.8496, allocations: 150.8 MB / 166.6 MB, free: 14.55 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003045, allocations: 19.97 kB / 204.7 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1991, allocations: 31.33 MB / 236 MB, free: 5.422 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p): time 1.688/1.888, allocations: 291.9 MB / 0.5155 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03745/1.925, allocations: 32.95 MB / 0.5477 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/1.925, allocations: 0 / 0.5477 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004248/1.926, allocations: 111.5 kB / 0.5478 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/1.926, allocations: 31.77 kB / 0.5478 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02062/1.946, allocations: 6.12 MB / 0.5538 GB, free: 7.539 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/1.947, allocations: 123.4 kB / 0.5539 GB, free: 7.418 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.927e-05/1.947, allocations: 31.22 kB / 0.5539 GB, free: 7.391 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/1.947, allocations: 59.61 kB / 0.554 GB, free: 7.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/1.947, allocations: 35.8 kB / 0.554 GB, free: 7.297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/1.947, allocations: 0 / 0.554 GB, free: 7.297 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02594/1.973, allocations: 14.65 MB / 0.5683 GB, free: 8.633 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/1.973, allocations: 11.86 kB / 0.5683 GB, free: 8.621 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.765e-05/1.973, allocations: 47.73 kB / 0.5684 GB, free: 8.574 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009301/1.982, allocations: 4.947 MB / 0.5732 GB, free: 3.613 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.982, allocations: 0 / 0.5732 GB, free: 3.613 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.105e-06/1.982, allocations: 3.984 kB / 0.5732 GB, free: 3.609 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/1.982, allocations: 0 / 0.5732 GB, free: 3.609 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.003135/1.986, allocations: 1.154 MB / 0.5743 GB, free: 2.406 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/1.986, allocations: 8.031 kB / 0.5743 GB, free: 2.398 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/1.986, allocations: 15.78 kB / 0.5744 GB, free: 2.383 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/1.986, allocations: 178.8 kB / 0.5745 GB, free: 2.168 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/1.986, allocations: 0 / 0.5745 GB, free: 2.168 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/1.986, allocations: 8 kB / 0.5745 GB, free: 2.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/1.986, allocations: 86.16 kB / 0.5746 GB, free: 2.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/1.986, allocations: 0 / 0.5746 GB, free: 2.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/1.986, allocations: 4 kB / 0.5746 GB, free: 2.066 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/1.986, allocations: 4 kB / 0.5746 GB, free: 2.062 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/1.986, allocations: 121.6 kB / 0.5747 GB, free: 1.945 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/1.986, allocations: 213.5 kB / 0.5749 GB, free: 1.688 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/1.987, allocations: 110.4 kB / 0.5751 GB, free: 1.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.359e-05/1.987, allocations: 76.84 kB / 0.5751 GB, free: 1.492 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1115/2.098, allocations: 56.05 MB / 0.6299 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/2.098, allocations: 34.56 kB / 0.6299 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 4.629e-06/2.098, allocations: 4 kB / 0.6299 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.0004594/2.099, allocations: 229.4 kB / 0.6301 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/2.099, allocations: 55.41 kB / 0.6302 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.228e-05/2.099, allocations: 97.86 kB / 0.6303 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/2.099, allocations: 25.7 kB / 0.6303 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/2.099, allocations: 80.7 kB / 0.6304 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.257e-05/2.099, allocations: 106.4 kB / 0.6305 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/2.099, allocations: 37.69 kB / 0.6305 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001454/2.099, allocations: 318.8 kB / 0.6308 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.644e-05/2.099, allocations: 51.97 kB / 0.6309 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.87e-05/2.099, allocations: 47.98 kB / 0.6309 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/2.1, allocations: 133.8 kB / 0.631 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/2.1, allocations: 7.938 kB / 0.631 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002228/2.1, allocations: 161.5 kB / 0.6312 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/2.1, allocations: 8 kB / 0.6312 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/2.1, allocations: 0 / 0.6312 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/2.1, allocations: 0 / 0.6312 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.081e-05/2.1, allocations: 15.98 kB / 0.6312 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/2.1, allocations: 4 kB / 0.6312 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/2.1, allocations: 11.84 kB / 0.6312 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/2.1, allocations: 8 kB / 0.6312 GB, free: 1.852 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.273e-05/2.1, allocations: 117.8 kB / 0.6313 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/2.1, allocations: 7.812 kB / 0.6314 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/2.101, allocations: 210.6 kB / 0.6316 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/2.101, allocations: 7.984 kB / 0.6316 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/2.101, allocations: 3.938 kB / 0.6316 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/2.101, allocations: 0 / 0.6316 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/2.101, allocations: 221.4 kB / 0.6318 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/2.101, allocations: 0 / 0.6318 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/2.101, allocations: 23.92 kB / 0.6318 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/2.101, allocations: 0 / 0.6318 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/2.101, allocations: 0 / 0.6318 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/2.101, allocations: 0 / 0.6318 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/2.101, allocations: 7.938 kB / 0.6318 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/2.101, allocations: 204.9 kB / 0.632 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/2.101, allocations: 92.86 kB / 0.6321 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/2.101, allocations: 0 / 0.6321 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.198e-05/2.101, allocations: 7.984 kB / 0.6321 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/2.101, allocations: 4 kB / 0.6321 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/2.101, allocations: 5.594 kB / 0.6321 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.222e-05/2.101, allocations: 91.27 kB / 0.6322 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/2.101, allocations: 0 / 0.6322 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002783/2.104, allocations: 0.9955 MB / 0.6332 GB, free: 15.77 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005224/2.109, allocations: 1.636 MB / 0.6348 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002448/2.11, allocations: 135.9 kB / 0.6349 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/2.11, allocations: 0 / 0.6349 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/2.11, allocations: 75.92 kB / 0.635 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/2.11, allocations: 53.91 kB / 0.635 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006569/2.111, allocations: 377 kB / 0.6354 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/2.111, allocations: 0.7041 MB / 0.6361 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/2.111, allocations: 19.38 kB / 0.6361 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/2.111, allocations: 3.938 kB / 0.6361 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of Templates: time 0.03066/2.142, allocations: 19.36 MB / 0.655 GB, free: 9.336 MB / 0.545 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_pCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_pCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_pCalcHelperMain.o] Error 1