Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Validation_PressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.745/0.745, allocations: 141.8 MB / 149.1 MB, free: 3.625 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 183.8 kB / 181.9 MB, free: 15.37 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 221.3 MB / 436 MB, free: 8.551 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 98.56 kB / 0.507 GB, free: 24.27 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00184/0.001841, allocations: 288.2 kB / 0.5885 GB, free: 11.57 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.213/0.2149, allocations: 89.64 MB / 0.676 GB, free: 1.852 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4609/0.6758, allocations: 82.75 MB / 0.7568 GB, free: 112.1 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.044/4.72, allocations: 1.887 GB / 2.644 GB, free: 187 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/4.721, allocations: 107 kB / 2.644 GB, free: 186.9 MB / 0.6982 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.9/6.62, allocations: 0.595 GB / 3.239 GB, free: 117.1 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/6.62, allocations: 9.25 kB / 3.239 GB, free: 117.1 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/6.623, allocations: 301.8 kB / 3.239 GB, free: 116.8 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003603/6.627, allocations: 1.378 MB / 3.24 GB, free: 115.4 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/6.627, allocations: 24 kB / 3.24 GB, free: 115.4 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004872/6.627, allocations: 59.91 kB / 3.24 GB, free: 115.3 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001516/6.629, allocations: 0.8198 MB / 3.241 GB, free: 114.5 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/6.63, allocations: 0.8985 MB / 3.242 GB, free: 113.6 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/6.63, allocations: 0 / 3.242 GB, free: 113.6 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.044e-05/6.63, allocations: 0 / 3.242 GB, free: 113.6 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/6.63, allocations: 20 kB / 3.242 GB, free: 113.5 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007195/6.638, allocations: 4.739 MB / 3.247 GB, free: 108.7 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/6.639, allocations: 0.7495 MB / 3.248 GB, free: 107.9 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/6.639, allocations: 385.9 kB / 3.248 GB, free: 107.6 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003659/6.64, allocations: 286.7 kB / 3.248 GB, free: 107.2 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/6.64, allocations: 35 kB / 3.248 GB, free: 107.2 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=50): time 3.537e-06/6.64, allocations: 0 / 3.248 GB, free: 107.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=50): time 0.003269/6.643, allocations: 1.091 MB / 3.249 GB, free: 106.1 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/6.643, allocations: 107.2 kB / 3.249 GB, free: 106 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002687/6.646, allocations: 1.398 MB / 3.251 GB, free: 104.6 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0003363/6.646, allocations: 29.7 kB / 3.251 GB, free: 104.5 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.000441/6.647, allocations: 401.4 kB / 3.251 GB, free: 104.1 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/6.647, allocations: 165.6 kB / 3.251 GB, free: 104 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/6.647, allocations: 3.938 kB / 3.251 GB, free: 103.9 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.804e-05/6.647, allocations: 345.9 kB / 3.252 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/6.648, allocations: 0.8296 MB / 3.252 GB, free: 102.8 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/6.649, allocations: 1.198 MB / 3.254 GB, free: 101.4 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002111/6.652, allocations: 0.8835 MB / 3.254 GB, free: 100.6 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/6.652, allocations: 7.891 kB / 3.254 GB, free: 100.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004634/6.656, allocations: 2.12 MB / 3.257 GB, free: 98.44 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003515/6.657, allocations: 1.853 MB / 3.258 GB, free: 96.47 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/6.657, allocations: 8 kB / 3.258 GB, free: 96.46 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/6.657, allocations: 132.4 kB / 3.259 GB, free: 96.34 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/6.659, allocations: 227.3 kB / 3.259 GB, free: 96.12 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/6.66, allocations: 1.364 MB / 3.26 GB, free: 94.71 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/6.662, allocations: 214 kB / 3.26 GB, free: 94.51 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/6.662, allocations: 71.88 kB / 3.26 GB, free: 94.44 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/6.662, allocations: 4 kB / 3.26 GB, free: 94.43 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003562/6.666, allocations: 1.854 MB / 3.262 GB, free: 92.58 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/6.666, allocations: 8 kB / 3.262 GB, free: 92.57 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/6.666, allocations: 8 kB / 3.262 GB, free: 92.57 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/6.667, allocations: 254.7 kB / 3.262 GB, free: 92.32 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/6.667, allocations: 8 kB / 3.262 GB, free: 92.32 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/6.67, allocations: 185.9 kB / 3.263 GB, free: 92.14 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/6.67, allocations: 74.53 kB / 3.263 GB, free: 92.08 MB / 0.6982 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.000477/6.67, allocations: 144.7 kB / 3.263 GB, free: 91.93 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005876/6.671, allocations: 118.4 kB / 3.263 GB, free: 91.81 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/6.674, allocations: 1.258 MB / 3.264 GB, free: 90.55 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/6.674, allocations: 4 kB / 3.264 GB, free: 90.55 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/6.674, allocations: 7.984 kB / 3.264 GB, free: 90.54 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/6.674, allocations: 3.938 kB / 3.264 GB, free: 90.54 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005423/6.68, allocations: 2.438 MB / 3.267 GB, free: 88.04 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/6.68, allocations: 4 kB / 3.267 GB, free: 88.04 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006878/6.68, allocations: 140 kB / 3.267 GB, free: 87.91 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006078/6.681, allocations: 135.7 kB / 3.267 GB, free: 87.77 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.375e-05/6.681, allocations: 12 kB / 3.267 GB, free: 87.76 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000804/6.682, allocations: 1.35 MB / 3.268 GB, free: 86.37 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/6.682, allocations: 4 kB / 3.268 GB, free: 86.36 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003347/6.685, allocations: 1.876 MB / 3.27 GB, free: 84.4 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004145/6.689, allocations: 2.885 MB / 3.273 GB, free: 81.42 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009404/6.69, allocations: 379.7 kB / 3.273 GB, free: 81.03 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004654/6.691, allocations: 4.719 kB / 3.273 GB, free: 81.03 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/6.692, allocations: 110.4 kB / 3.273 GB, free: 80.92 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/6.692, allocations: 40.38 kB / 3.273 GB, free: 80.88 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.58e-05/6.693, allocations: 39.98 kB / 3.273 GB, free: 80.84 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.001696/6.694, allocations: 1.064 MB / 3.274 GB, free: 79.78 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.005715/6.7, allocations: 1.271 MB / 3.276 GB, free: 78.51 MB / 0.6982 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.003066/6.703, allocations: 1.981 MB / 3.278 GB, free: 76.72 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.004137/6.707, allocations: 2.464 MB / 3.28 GB, free: 74.25 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/6.707, allocations: 0 / 3.28 GB, free: 74.25 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0005895/6.708, allocations: 382.4 kB / 3.28 GB, free: 73.88 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/6.71, allocations: 316.6 kB / 3.281 GB, free: 73.58 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/6.714, allocations: 1.672 MB / 3.282 GB, free: 71.85 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/6.715, allocations: 1.316 MB / 3.284 GB, free: 70.51 MB / 0.6982 GB Notification: Performance of SimCode: time 9.02e-07/6.715, allocations: 0 / 3.284 GB, free: 70.51 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Validation_PressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Validation_PressureIndependent.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1)