Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.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.Examples.SimpleExamples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6856/0.6856, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.323e-05/1.325e-05, allocations: 4 kB / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 31.98 MB / 237.4 MB, free: 5.387 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestSensors): time 1.318/1.433, allocations: 294.8 MB / 0.5197 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1634/1.597, allocations: 185.5 MB / 0.7009 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/1.597, allocations: 11.94 kB / 0.7009 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000317/1.597, allocations: 119.2 kB / 0.701 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003872/1.598, allocations: 170.6 kB / 0.7012 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2485/1.846, allocations: 8.851 MB / 0.7098 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007408/1.847, allocations: 0.6875 MB / 0.7105 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/1.847, allocations: 264.3 kB / 0.7108 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003671/1.848, allocations: 239 kB / 0.711 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/1.848, allocations: 227.2 kB / 0.7112 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.237e-05/1.848, allocations: 21.75 kB / 0.7112 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02435/1.873, allocations: 20.16 MB / 0.7309 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/1.873, allocations: 76.3 kB / 0.731 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000332/1.873, allocations: 297.6 kB / 0.7313 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007144/1.88, allocations: 6.849 MB / 0.738 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.614e-06/1.88, allocations: 1.375 kB / 0.738 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/1.88, allocations: 0 / 0.738 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.046e-05/1.88, allocations: 1.859 kB / 0.738 GB, free: 3.191 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003193/1.883, allocations: 1.85 MB / 0.7398 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/1.883, allocations: 8.375 kB / 0.7398 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/1.883, allocations: 67.69 kB / 0.7398 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/1.884, allocations: 332.2 kB / 0.7402 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/1.884, allocations: 44.53 kB / 0.7402 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/1.884, allocations: 45.97 kB / 0.7402 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006339/1.884, allocations: 0.6801 MB / 0.7409 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/1.884, allocations: 0 / 0.7409 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/1.884, allocations: 23.16 kB / 0.7409 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/1.885, allocations: 28.08 kB / 0.741 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/1.885, allocations: 396.9 kB / 0.7413 GB, free: 1.328 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03218/1.917, allocations: 20.83 MB / 0.7617 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/1.918, allocations: 241.3 kB / 0.7619 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/1.918, allocations: 170.9 kB / 0.7621 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2669/2.185, allocations: 151.7 MB / 0.9103 GB, free: 1.035 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/2.185, allocations: 42.31 kB / 0.9103 GB, free: 0.9883 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=62): time 2.164e-06/2.185, allocations: 4 kB / 0.9103 GB, free: 0.9844 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62): time 0.001628/2.186, allocations: 0.7446 MB / 0.911 GB, free: 420 kB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/2.186, allocations: 51.41 kB / 0.9111 GB, free: 356 kB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/2.187, allocations: 386.4 kB / 0.9114 GB, free: 40 kB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/2.187, allocations: 33.39 kB / 0.9115 GB, free: 4 kB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/2.187, allocations: 272.7 kB / 0.9117 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/2.187, allocations: 206 kB / 0.9119 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/2.187, allocations: 60.11 kB / 0.912 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001062/2.187, allocations: 353.2 kB / 0.9123 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/2.187, allocations: 147.6 kB / 0.9125 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/2.188, allocations: 275.2 kB / 0.9127 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/2.188, allocations: 452.2 kB / 0.9132 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/2.188, allocations: 0 / 0.9132 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0007246/2.189, allocations: 0.5683 MB / 0.9137 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/2.189, allocations: 5.406 kB / 0.9137 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/2.189, allocations: 4 kB / 0.9137 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008895/2.19, allocations: 230.5 kB / 0.9139 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/2.19, allocations: 33.7 kB / 0.914 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006168/2.191, allocations: 0.7329 MB / 0.9147 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/2.191, allocations: 63.08 kB / 0.9148 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/2.191, allocations: 19.5 kB / 0.9148 GB, free: 13.23 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 14 (perteDP.C2.b,perteDP.C1.a,sourceP.C.b,puitsP.C.a,temperatureSensor.C2.b,temperatureSensor.C1.a,pressureSensor.C2.b,pressureSensor.C1.a,volumetricFlowSensor.C2.b,volumetricFlowSensor.C1.a,massFlowSensor.C2.b,massFlowSensor.C1.a,specificEnthalpySensor.C2.b,specificEnthalpySensor.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001655/2.191, allocations: 172.9 kB / 0.9149 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/2.191, allocations: 41.3 kB / 0.915 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/2.192, allocations: 1.129 MB / 0.9161 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005138/2.193, allocations: 467.6 kB / 0.9165 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/2.193, allocations: 0 / 0.9165 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/2.193, allocations: 0 / 0.9165 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/2.194, allocations: 1.35 MB / 0.9178 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/2.194, allocations: 4 kB / 0.9179 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/2.194, allocations: 35.48 kB / 0.9179 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006696/2.195, allocations: 220.9 kB / 0.9181 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/2.195, allocations: 3.562 kB / 0.9181 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00058/2.196, allocations: 0.7532 MB / 0.9188 GB, free: 9.973 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/2.196, allocations: 0.75 kB / 0.9188 GB, free: 9.973 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/2.196, allocations: 0.6057 MB / 0.9194 GB, free: 9.504 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/2.197, allocations: 188 kB / 0.9196 GB, free: 9.324 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/2.197, allocations: 3.625 kB / 0.9196 GB, free: 9.324 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/2.197, allocations: 11.38 kB / 0.9196 GB, free: 9.32 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/2.197, allocations: 23.95 kB / 0.9196 GB, free: 9.297 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/2.197, allocations: 7.688 kB / 0.9197 GB, free: 9.293 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002947/2.197, allocations: 332.5 kB / 0.92 GB, free: 9.047 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/2.197, allocations: 0 / 0.92 GB, free: 9.047 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003107/2.2, allocations: 1.545 MB / 0.9215 GB, free: 7.602 MB / 0.7637 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 (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004696/2.205, allocations: 2.318 MB / 0.9237 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.000786/2.206, allocations: 0.5252 MB / 0.9243 GB, free: 5.227 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/2.206, allocations: 0 / 0.9243 GB, free: 5.227 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004247/2.206, allocations: 243 kB / 0.9245 GB, free: 5.07 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/2.207, allocations: 222.1 kB / 0.9247 GB, free: 4.895 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/2.209, allocations: 1.338 MB / 0.926 GB, free: 3.641 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/2.209, allocations: 0.8908 MB / 0.9269 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/2.209, allocations: 39.44 kB / 0.9269 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of SimCode: time 2.1e-07/2.209, allocations: 0 / 0.9269 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of Templates: time 0.0346/2.244, allocations: 33.17 MB / 0.9593 GB, free: 1.723 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensorsCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensorsCalcHelperMain.o] Error 1