Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7294/0.7294, allocations: 150.8 MB / 166.7 MB, free: 15.44 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.34e-05/1.341e-05, allocations: 4 kB / 205.4 MB, free: 10.08 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1447, allocations: 31.98 MB / 237.4 MB, free: 5.641 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.Fluid.Examples.SimpleExamples.TestSensors): time 1.427/1.571, allocations: 295.3 MB / 0.5202 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.447/2.018, allocations: 192.8 MB / 0.7085 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003201/2.019, allocations: 8.812 kB / 0.7085 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/2.019, allocations: 77 kB / 0.7086 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004666/2.019, allocations: 237.8 kB / 0.7088 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02471/2.044, allocations: 10.43 MB / 0.719 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001005/2.045, allocations: 0.8891 MB / 0.7198 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004451/2.045, allocations: 483.6 kB / 0.7203 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/2.046, allocations: 299.3 kB / 0.7206 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/2.046, allocations: 345.4 kB / 0.7209 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.263e-05/2.046, allocations: 42.47 kB / 0.721 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03215/2.078, allocations: 22.52 MB / 0.743 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002128/2.079, allocations: 137.1 kB / 0.7431 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005015/2.079, allocations: 438.4 kB / 0.7435 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01429/2.093, allocations: 8.229 MB / 0.7515 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/2.093, allocations: 0 / 0.7515 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.954e-06/2.093, allocations: 0 / 0.7515 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.094e-05/2.093, allocations: 0 / 0.7515 GB, free: 14.65 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.005765/2.099, allocations: 2.316 MB / 0.7538 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/2.099, allocations: 8.625 kB / 0.7538 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/2.099, allocations: 108.7 kB / 0.7539 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/2.1, allocations: 452.6 kB / 0.7543 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/2.1, allocations: 77.11 kB / 0.7544 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.961e-05/2.1, allocations: 96.66 kB / 0.7545 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/2.101, allocations: 0.8646 MB / 0.7554 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/2.101, allocations: 10.75 kB / 0.7554 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.385e-05/2.101, allocations: 43 kB / 0.7554 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/2.101, allocations: 26.52 kB / 0.7554 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007951/2.102, allocations: 0.5936 MB / 0.756 GB, free: 12.43 MB / 0.5919 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.01492/2.117, allocations: 13.08 MB / 0.7688 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/2.117, allocations: 238.6 kB / 0.769 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.66e-05/2.117, allocations: 56.19 kB / 0.7691 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.692/2.809, allocations: 219.3 MB / 0.9833 GB, free: 241.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/2.809, allocations: 37.78 kB / 0.9833 GB, free: 241.2 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.544e-06/2.809, allocations: 0 / 0.9833 GB, free: 241.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001039/2.81, allocations: 378.5 kB / 0.9837 GB, free: 241.1 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/2.81, allocations: 54.97 kB / 0.9837 GB, free: 241 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/2.811, allocations: 483.8 kB / 0.9842 GB, free: 240.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/2.811, allocations: 29.2 kB / 0.9842 GB, free: 240.9 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/2.811, allocations: 435.2 kB / 0.9846 GB, free: 240.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/2.811, allocations: 58.97 kB / 0.9847 GB, free: 240.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/2.811, allocations: 42 kB / 0.9847 GB, free: 240.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 6.361e-05/2.811, allocations: 351.2 kB / 0.985 GB, free: 240.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/2.811, allocations: 70.28 kB / 0.9851 GB, free: 240.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/2.812, allocations: 154.2 kB / 0.9853 GB, free: 240.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/2.812, allocations: 240.5 kB / 0.9855 GB, free: 240.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/2.812, allocations: 0 / 0.9855 GB, free: 240.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004858/2.812, allocations: 357.5 kB / 0.9858 GB, free: 240.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/2.812, allocations: 7.328 kB / 0.9858 GB, free: 240.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/2.812, allocations: 3 kB / 0.9858 GB, free: 240.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007735/2.813, allocations: 138.5 kB / 0.986 GB, free: 240.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/2.813, allocations: 56.73 kB / 0.986 GB, free: 240.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003068/2.814, allocations: 0.5877 MB / 0.9866 GB, free: 239.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/2.814, allocations: 47.41 kB / 0.9866 GB, free: 239.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/2.814, allocations: 16.62 kB / 0.9867 GB, free: 239.5 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,volumetricFlowSensor.fluid,temperatureSensor.fluid,puitsP.fluid,perteDP.fluid,sourceP.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002003/2.814, allocations: 191.1 kB / 0.9868 GB, free: 239.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/2.814, allocations: 45.95 kB / 0.9869 GB, free: 239.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006201/2.815, allocations: 295.2 kB / 0.9872 GB, free: 239.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/2.815, allocations: 3.219 kB / 0.9872 GB, free: 239.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/2.815, allocations: 0 / 0.9872 GB, free: 239.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/2.815, allocations: 7.5 kB / 0.9872 GB, free: 239.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/2.816, allocations: 0.95 MB / 0.9881 GB, free: 238.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/2.816, allocations: 0 / 0.9881 GB, free: 238.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.287e-05/2.816, allocations: 18.91 kB / 0.9881 GB, free: 238.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005532/2.817, allocations: 116.1 kB / 0.9882 GB, free: 238.9 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/2.817, allocations: 5.906 kB / 0.9882 GB, free: 238.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002585/2.817, allocations: 0.5888 MB / 0.9888 GB, free: 238.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/2.817, allocations: 0 / 0.9888 GB, free: 238.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/2.817, allocations: 345.4 kB / 0.9891 GB, free: 238.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.719e-05/2.817, allocations: 149.2 kB / 0.9893 GB, free: 238.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/2.818, allocations: 7.578 kB / 0.9893 GB, free: 238.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/2.818, allocations: 3.938 kB / 0.9893 GB, free: 238.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/2.818, allocations: 13.53 kB / 0.9893 GB, free: 238.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/2.818, allocations: 7.516 kB / 0.9893 GB, free: 238.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002752/2.818, allocations: 330.4 kB / 0.9896 GB, free: 238 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/2.818, allocations: 0.875 kB / 0.9896 GB, free: 238 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004291/2.822, allocations: 1.903 MB / 0.9915 GB, free: 237.9 MB / 0.8106 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007012/2.829, allocations: 2.89 MB / 0.9943 GB, free: 237.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004603/2.83, allocations: 189.9 kB / 0.9945 GB, free: 237.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/2.83, allocations: 2.938 kB / 0.9945 GB, free: 237.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/2.83, allocations: 82.91 kB / 0.9946 GB, free: 237.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005645/2.831, allocations: 88.5 kB / 0.9947 GB, free: 237.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/2.832, allocations: 1.408 MB / 0.996 GB, free: 236.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/2.832, allocations: 0.9055 MB / 0.9969 GB, free: 235.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.664e-05/2.832, allocations: 42.28 kB / 0.997 GB, free: 235.9 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/2.832, allocations: 2.5 kB / 0.997 GB, free: 235.9 MB / 0.8106 GB Notification: Performance of Templates: time 0.04122/2.874, allocations: 37.92 MB / 1.034 GB, free: 218.1 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestSensorsCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensorsCalcHelperMain.o] Error 1