Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009861/0.0009859, allocations: 102.6 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.001521/0.001521, allocations: 174.6 kB / 16.58 MB, free: 6.02 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.534/1.534, allocations: 223.3 MB / 240.6 MB, free: 5.336 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.605/2.605, allocations: 390.5 MB / 0.6662 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003863, allocations: 8 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9794/0.9798, allocations: 142.3 MB / 0.9544 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1843/1.164, allocations: 163.1 MB / 1.114 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00906/1.173, allocations: 7.279 MB / 1.121 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005724/1.174, allocations: 15.88 kB / 1.121 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006085/1.174, allocations: 162.8 kB / 1.121 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002371/1.177, allocations: 0.8903 MB / 1.122 GB, free: 4.215 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/1.178, allocations: 0.5289 MB / 1.122 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001673/1.18, allocations: 1.306 MB / 1.124 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005151/1.18, allocations: 308.1 kB / 1.124 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/1.182, allocations: 0.6927 MB / 1.125 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005627/1.183, allocations: 426.4 kB / 1.125 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/1.183, allocations: 24 kB / 1.125 GB, free: 0.9375 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/1.184, allocations: 0.5223 MB / 1.126 GB, free: 424 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001521/1.184, allocations: 139.6 kB / 1.126 GB, free: 284 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/1.184, allocations: 113.5 kB / 1.126 GB, free: 164 kB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008987/1.185, allocations: 0.5845 MB / 1.126 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/1.185, allocations: 0 / 1.126 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.154e-06/1.185, allocations: 0 / 1.126 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.213e-06/1.185, allocations: 0 / 1.126 GB, free: 15.57 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001037/1.186, allocations: 0.7325 MB / 1.127 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/1.186, allocations: 8.031 kB / 1.127 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009532/1.187, allocations: 151.3 kB / 1.127 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005387/1.188, allocations: 367.7 kB / 1.128 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/1.188, allocations: 29 kB / 1.128 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/1.188, allocations: 39.94 kB / 1.128 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007201/1.189, allocations: 450.4 kB / 1.128 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.189, allocations: 4 kB / 1.128 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/1.189, allocations: 16 kB / 1.128 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/1.189, allocations: 8 kB / 1.128 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000575/1.189, allocations: 335.6 kB / 1.128 GB, free: 13.35 MB / 0.8887 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.002303/1.192, allocations: 2.016 MB / 1.13 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/1.192, allocations: 246.3 kB / 1.131 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/1.192, allocations: 152.8 kB / 1.131 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006192/1.193, allocations: 327.2 kB / 1.131 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/1.193, allocations: 34.56 kB / 1.131 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=24): time 1.843e-06/1.193, allocations: 3.938 kB / 1.131 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of matching and sorting (n=24): time 0.001011/1.194, allocations: 471.8 kB / 1.132 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/1.194, allocations: 55.41 kB / 1.132 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/1.194, allocations: 390 kB / 1.132 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/1.194, allocations: 37.7 kB / 1.132 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/1.195, allocations: 228.2 kB / 1.132 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.837e-05/1.195, allocations: 78.84 kB / 1.132 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/1.195, allocations: 11.94 kB / 1.132 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.195, allocations: 346.8 kB / 1.133 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/1.195, allocations: 111.9 kB / 1.133 GB, free: 8.59 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/1.195, allocations: 202.7 kB / 1.133 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/1.196, allocations: 132.5 kB / 1.133 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.196, allocations: 0 / 1.133 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007473/1.196, allocations: 373.8 kB / 1.133 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.196, allocations: 8 kB / 1.133 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.196, allocations: 0 / 1.133 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/1.196, allocations: 7.953 kB / 1.133 GB, free: 7.852 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/1.197, allocations: 63.91 kB / 1.134 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.197, allocations: 4 kB / 1.134 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/1.197, allocations: 59.69 kB / 1.134 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/1.197, allocations: 15.94 kB / 1.134 GB, free: 7.711 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.0002043/1.197, allocations: 169.8 kB / 1.134 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/1.197, allocations: 39.53 kB / 1.134 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007691/1.198, allocations: 378.2 kB / 1.134 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/1.198, allocations: 4 kB / 1.134 GB, free: 7.117 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.198, allocations: 3.953 kB / 1.134 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.198, allocations: 3.938 kB / 1.134 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/1.2, allocations: 0.9535 MB / 1.135 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.2, allocations: 0 / 1.135 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/1.2, allocations: 55.91 kB / 1.135 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/1.2, allocations: 4 kB / 1.135 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/1.2, allocations: 4 kB / 1.135 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.2, allocations: 0 / 1.135 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.2, allocations: 4.219 kB / 1.135 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/1.201, allocations: 0.6526 MB / 1.136 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/1.202, allocations: 144.6 kB / 1.136 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/1.202, allocations: 8.031 kB / 1.136 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/1.202, allocations: 32.03 kB / 1.136 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/1.202, allocations: 19.97 kB / 1.136 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/1.202, allocations: 8 kB / 1.136 GB, free: 5.098 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002953/1.202, allocations: 283.1 kB / 1.136 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.21e-07/1.202, allocations: 0 / 1.136 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005011/1.203, allocations: 107.8 kB / 1.136 GB, free: 4.723 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.0005215/1.203, allocations: 189.3 kB / 1.137 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007238/1.204, allocations: 299.5 kB / 1.137 GB, free: 4.242 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.204, allocations: 0 / 1.137 GB, free: 4.242 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002779/1.204, allocations: 156.7 kB / 1.137 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/1.206, allocations: 216.7 kB / 1.137 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/1.207, allocations: 0.9775 MB / 1.138 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/1.207, allocations: 0.8314 MB / 1.139 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/1.208, allocations: 39.38 kB / 1.139 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of SimCode: time 2e-07/1.208, allocations: 0 / 1.139 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of Templates: time 0.01166/1.219, allocations: 6.738 MB / 1.146 GB, free: 11.29 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRateCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRateCalcHelperMain.o] Error 1