Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.042/2.042, allocations: 387.2 MB / 394.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 185.2 kB / 487 MB, free: 5.305 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 221.3 MB / 0.7819 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009941/0.0009943, allocations: 100.5 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6432/0.6442, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.9387, allocations: 142.3 MB / 1.205 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.694/5.633, allocations: 1.926 GB / 3.132 GB, free: 375.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/5.633, allocations: 95.94 kB / 3.132 GB, free: 375.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 1.915/7.548, allocations: 0.595 GB / 3.727 GB, free: 208 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/7.549, allocations: 12 kB / 3.727 GB, free: 208 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003184/7.552, allocations: 309.6 kB / 3.727 GB, free: 207.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004133/7.556, allocations: 1.373 MB / 3.728 GB, free: 206.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.8e-05/7.556, allocations: 23.91 kB / 3.729 GB, free: 206.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006207/7.557, allocations: 60 kB / 3.729 GB, free: 206.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001977/7.559, allocations: 0.8198 MB / 3.729 GB, free: 205.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/7.56, allocations: 0.8972 MB / 3.73 GB, free: 204.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/7.56, allocations: 4 kB / 3.73 GB, free: 204.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.195e-05/7.561, allocations: 7.938 kB / 3.73 GB, free: 204.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/7.561, allocations: 16 kB / 3.73 GB, free: 204.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008898/7.569, allocations: 4.724 MB / 3.735 GB, free: 199.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/7.571, allocations: 0.7602 MB / 3.736 GB, free: 198.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/7.571, allocations: 388.7 kB / 3.736 GB, free: 198.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003728/7.572, allocations: 280.6 kB / 3.736 GB, free: 198 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/7.572, allocations: 42.98 kB / 3.736 GB, free: 198 MB / 1.151 GB Notification: Performance of pre-optimization done (n=50): time 3.427e-06/7.572, allocations: 4 kB / 3.736 GB, free: 197.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=50): time 0.003606/7.575, allocations: 1.092 MB / 3.737 GB, free: 196.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/7.576, allocations: 115.2 kB / 3.737 GB, free: 196.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/7.578, allocations: 1.398 MB / 3.739 GB, free: 195.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0004023/7.579, allocations: 25.7 kB / 3.739 GB, free: 195.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005366/7.579, allocations: 405.3 kB / 3.739 GB, free: 194.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/7.58, allocations: 161.6 kB / 3.739 GB, free: 194.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/7.58, allocations: 0 / 3.739 GB, free: 194.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001008/7.58, allocations: 345.8 kB / 3.74 GB, free: 194.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/7.581, allocations: 0.8335 MB / 3.741 GB, free: 193.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/7.583, allocations: 1.18 MB / 3.742 GB, free: 192.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/7.585, allocations: 0.8893 MB / 3.743 GB, free: 191.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/7.585, allocations: 0 / 3.743 GB, free: 191.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005024/7.59, allocations: 2.126 MB / 3.745 GB, free: 189.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005286/7.59, allocations: 1.858 MB / 3.746 GB, free: 187.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/7.59, allocations: 4 kB / 3.746 GB, free: 187.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006905/7.591, allocations: 136.7 kB / 3.747 GB, free: 187 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/7.593, allocations: 227.7 kB / 3.747 GB, free: 186.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/7.594, allocations: 1.361 MB / 3.748 GB, free: 185.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/7.596, allocations: 222.8 kB / 3.748 GB, free: 185.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003149/7.597, allocations: 63.98 kB / 3.748 GB, free: 185.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/7.597, allocations: 6.5 kB / 3.748 GB, free: 185.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003675/7.6, allocations: 1.856 MB / 3.75 GB, free: 183.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/7.6, allocations: 8.062 kB / 3.75 GB, free: 183.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/7.6, allocations: 8 kB / 3.75 GB, free: 183.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/7.602, allocations: 251.7 kB / 3.75 GB, free: 183 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/7.602, allocations: 11.94 kB / 3.751 GB, free: 183 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/7.604, allocations: 195.1 kB / 3.751 GB, free: 182.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/7.604, allocations: 67.97 kB / 3.751 GB, free: 182.7 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: conPID.u_m:VARIABLE() "Connector of measurement input signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (damPreInd.idx_sorted[1],damPreInd.idx_sorted[2],damPreInd.idx_sorted[3],damPreInd.idx_sorted[4],damPreInd.idx_sorted[5],damPreInd.idx_sorted[6],damPreInd.idx_sorted[7],damPreInd.idx_sorted[8],damPreInd.idx_sorted[9],damPreInd.idx_sorted[10],damPreInd.idx_sorted[11],damPreInd.idx_sorted[12],damPreInd.idx_sorted[13],conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004412/7.605, allocations: 132.8 kB / 3.751 GB, free: 182.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006663/7.605, allocations: 118.6 kB / 3.751 GB, free: 182.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/7.609, allocations: 1.259 MB / 3.752 GB, free: 181.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/7.609, allocations: 8 kB / 3.752 GB, free: 181.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/7.609, allocations: 0 / 3.752 GB, free: 181.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/7.609, allocations: 3.984 kB / 3.752 GB, free: 181.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005834/7.615, allocations: 2.443 MB / 3.755 GB, free: 178.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/7.615, allocations: 0 / 3.755 GB, free: 178.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007208/7.615, allocations: 132.1 kB / 3.755 GB, free: 178.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006212/7.616, allocations: 144.8 kB / 3.755 GB, free: 178.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/7.616, allocations: 11.98 kB / 3.755 GB, free: 178.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008872/7.617, allocations: 1.349 MB / 3.756 GB, free: 177 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/7.617, allocations: 4 kB / 3.756 GB, free: 177 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003645/7.621, allocations: 1.879 MB / 3.758 GB, free: 175 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004675/7.625, allocations: 2.891 MB / 3.761 GB, free: 172 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/7.627, allocations: 383.1 kB / 3.761 GB, free: 171.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007146/7.627, allocations: 7.906 kB / 3.761 GB, free: 171.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/7.63, allocations: 99.94 kB / 3.761 GB, free: 171.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/7.63, allocations: 44.38 kB / 3.761 GB, free: 171.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.371e-05/7.63, allocations: 39.98 kB / 3.761 GB, free: 171.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002159/7.632, allocations: 1.057 MB / 3.762 GB, free: 170.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007448/7.639, allocations: 1.268 MB / 3.764 GB, free: 169.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (conPID.I.y,conPID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.004053/7.644, allocations: 1.976 MB / 3.766 GB, free: 167.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004974/7.649, allocations: 2.461 MB / 3.768 GB, free: 164.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/7.649, allocations: 4.062 kB / 3.768 GB, free: 164.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000716/7.649, allocations: 377.5 kB / 3.768 GB, free: 164.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/7.652, allocations: 317.3 kB / 3.769 GB, free: 164.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005526/7.657, allocations: 1.685 MB / 3.77 GB, free: 162.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001799/7.659, allocations: 1.312 MB / 3.772 GB, free: 161.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.252e-06/7.659, allocations: 0 / 3.772 GB, free: 161.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent.fmu > Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)