Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 100.4 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.001267/0.001267, allocations: 173.8 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.536/1.536, allocations: 223.2 MB / 240.6 MB, free: 5.418 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.416/2.416, allocations: 390.4 MB / 0.6662 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.000453, allocations: 8 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9167/0.9172, allocations: 142.3 MB / 0.9544 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2004/1.118, allocations: 152.2 MB / 1.103 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008093/1.126, allocations: 6.073 MB / 1.109 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005404/1.126, allocations: 11.94 kB / 1.109 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005572/1.127, allocations: 119.1 kB / 1.109 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00184/1.129, allocations: 0.5909 MB / 1.11 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009279/1.13, allocations: 274.2 kB / 1.11 GB, free: 480 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001004/1.131, allocations: 0.8615 MB / 1.111 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003673/1.131, allocations: 205.3 kB / 1.111 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/1.132, allocations: 458.1 kB / 1.111 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003669/1.133, allocations: 255.1 kB / 1.112 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/1.133, allocations: 16 kB / 1.112 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005507/1.133, allocations: 203.5 kB / 1.112 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/1.133, allocations: 99.67 kB / 1.112 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 8.391e-05/1.134, allocations: 85.52 kB / 1.112 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003782/1.134, allocations: 307.2 kB / 1.112 GB, free: 14 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.134, allocations: 4 kB / 1.112 GB, free: 14 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.358e-06/1.134, allocations: 3.984 kB / 1.112 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.181e-06/1.134, allocations: 4 kB / 1.112 GB, free: 13.99 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009623/1.135, allocations: 0.5572 MB / 1.113 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.135, allocations: 12.03 kB / 1.113 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003139/1.135, allocations: 55.5 kB / 1.113 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006575/1.136, allocations: 301.5 kB / 1.113 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/1.136, allocations: 20.56 kB / 1.113 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/1.136, allocations: 28 kB / 1.113 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005574/1.137, allocations: 319.6 kB / 1.114 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.137, allocations: 4 kB / 1.114 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/1.137, allocations: 12 kB / 1.114 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/1.137, allocations: 8 kB / 1.114 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004101/1.137, allocations: 213.5 kB / 1.114 GB, free: 12.36 MB / 0.8731 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.001634/1.139, allocations: 1.539 MB / 1.115 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/1.139, allocations: 126.5 kB / 1.115 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/1.139, allocations: 88.8 kB / 1.116 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007797/1.14, allocations: 323.2 kB / 1.116 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/1.14, allocations: 46.5 kB / 1.116 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/1.14, allocations: 0 / 1.116 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0007398/1.141, allocations: 287.2 kB / 1.116 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/1.141, allocations: 59.41 kB / 1.116 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/1.141, allocations: 304.5 kB / 1.116 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/1.141, allocations: 33.69 kB / 1.117 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/1.141, allocations: 184.1 kB / 1.117 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/1.141, allocations: 39.44 kB / 1.117 GB, free: 9.121 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/1.141, allocations: 4 kB / 1.117 GB, free: 9.117 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002339/1.142, allocations: 346.8 kB / 1.117 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/1.142, allocations: 59.95 kB / 1.117 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/1.142, allocations: 122.5 kB / 1.117 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/1.142, allocations: 67.97 kB / 1.117 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.142, allocations: 0 / 1.117 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004065/1.143, allocations: 233 kB / 1.118 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.143, allocations: 11.94 kB / 1.118 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.143, allocations: 0 / 1.118 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/1.143, allocations: 4 kB / 1.118 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/1.143, allocations: 36.14 kB / 1.118 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.143, allocations: 0 / 1.118 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/1.143, allocations: 47.66 kB / 1.118 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/1.143, allocations: 4 kB / 1.118 GB, free: 8.172 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000151/1.143, allocations: 157.7 kB / 1.118 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/1.143, allocations: 27.72 kB / 1.118 GB, free: 7.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004344/1.144, allocations: 216.3 kB / 1.118 GB, free: 7.762 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/1.144, allocations: 0 / 1.118 GB, free: 7.762 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.144, allocations: 0 / 1.118 GB, free: 7.762 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.144, allocations: 4 kB / 1.118 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/1.145, allocations: 0.699 MB / 1.119 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.145, allocations: 4.047 kB / 1.119 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/1.145, allocations: 31.97 kB / 1.119 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/1.145, allocations: 0 / 1.119 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/1.145, allocations: 4 kB / 1.119 GB, free: 6.941 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/1.145, allocations: 11.92 kB / 1.119 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.145, allocations: 4.219 kB / 1.119 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/1.146, allocations: 347.5 kB / 1.119 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/1.146, allocations: 124.7 kB / 1.119 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/1.146, allocations: 4 kB / 1.119 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/1.146, allocations: 19.98 kB / 1.119 GB, free: 6.387 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/1.146, allocations: 15.94 kB / 1.119 GB, free: 6.371 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/1.146, allocations: 4 kB / 1.119 GB, free: 6.367 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002195/1.146, allocations: 223 kB / 1.119 GB, free: 6.148 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.146, allocations: 3.938 kB / 1.119 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003781/1.147, allocations: 71.84 kB / 1.12 GB, free: 6.074 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004426/1.147, allocations: 155.1 kB / 1.12 GB, free: 5.922 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003895/1.147, allocations: 167.8 kB / 1.12 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.147, allocations: 0 / 1.12 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/1.148, allocations: 88.7 kB / 1.12 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000799/1.148, allocations: 152.7 kB / 1.12 GB, free: 5.527 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008959/1.149, allocations: 0.6648 MB / 1.121 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/1.15, allocations: 0.7758 MB / 1.121 GB, free: 4.004 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.4e-05/1.15, allocations: 23.44 kB / 1.122 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/1.15, allocations: 0 / 1.122 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.007493/1.157, allocations: 4.517 MB / 1.126 GB, free: 15.51 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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/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/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRateCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRateCalcHelperMain.o] Error 1