Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit",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 8.0.0/package.mo): time 2.452/2.452, allocations: 284.8 MB / 292.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001673/0.001673, allocations: 189.2 kB / 360.3 MB, free: 7.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.1 MB / 0.6187 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00132/0.001319, allocations: 85.83 kB / 0.7317 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2848/0.2862, allocations: 121.4 MB / 0.8502 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6659/0.9521, allocations: 115.2 MB / 0.9627 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.378/6.33, allocations: 2.066 GB / 3.029 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/6.331, allocations: 88.58 kB / 3.029 GB, free: 273.3 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 6.234/12.56, allocations: 1.42 GB / 4.449 GB, free: 9.309 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/12.56, allocations: 12 kB / 4.449 GB, free: 9.297 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/12.57, allocations: 210 kB / 4.449 GB, free: 9.09 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004171/12.57, allocations: 0.9655 MB / 4.45 GB, free: 8.07 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/12.57, allocations: 93.41 kB / 4.45 GB, free: 7.969 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/12.57, allocations: 52 kB / 4.45 GB, free: 7.918 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001511/12.57, allocations: 411.9 kB / 4.45 GB, free: 7.516 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/12.57, allocations: 0.7768 MB / 4.451 GB, free: 6.648 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/12.57, allocations: 7.938 kB / 4.451 GB, free: 6.641 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-05/12.57, allocations: 7.906 kB / 4.451 GB, free: 6.633 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/12.57, allocations: 24 kB / 4.451 GB, free: 6.609 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008965/12.58, allocations: 4.856 MB / 4.456 GB, free: 1.426 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/12.58, allocations: 392.7 kB / 4.456 GB, free: 0.9141 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00051/12.59, allocations: 248.2 kB / 4.456 GB, free: 0.6289 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/12.59, allocations: 101.1 kB / 4.457 GB, free: 0.5117 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/12.59, allocations: 63.36 kB / 4.457 GB, free: 452 kB / 0.9792 GB Notification: Performance of pre-optimization done (n=33): time 3.386e-06/12.59, allocations: 0 / 4.457 GB, free: 452 kB / 0.9792 GB Notification: Performance of matching and sorting (n=33): time 0.4492/13.03, allocations: 457.9 kB / 4.457 GB, free: 216.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/13.03, allocations: 402.2 kB / 4.457 GB, free: 215.8 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/13.04, allocations: 0.6438 MB / 4.458 GB, free: 215.6 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001728/13.04, allocations: 29.8 kB / 4.458 GB, free: 215.6 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/13.04, allocations: 386.1 kB / 4.458 GB, free: 215.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/13.04, allocations: 108.3 kB / 4.459 GB, free: 215.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/13.04, allocations: 3.531 kB / 4.459 GB, free: 215.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.13e-05/13.04, allocations: 322.4 kB / 4.459 GB, free: 215.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/13.04, allocations: 81.69 kB / 4.459 GB, free: 215.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/13.04, allocations: 347.3 kB / 4.459 GB, free: 214.9 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/13.04, allocations: 130.9 kB / 4.459 GB, free: 214.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/13.04, allocations: 3.719 kB / 4.459 GB, free: 214.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001647/13.04, allocations: 461.2 kB / 4.46 GB, free: 214.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002962/13.04, allocations: 1.32 MB / 4.461 GB, free: 213.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/13.04, allocations: 3.656 kB / 4.461 GB, free: 213.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003005/13.04, allocations: 62.27 kB / 4.461 GB, free: 213.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009951/13.04, allocations: 89.45 kB / 4.461 GB, free: 213.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/13.04, allocations: 2.335 MB / 4.464 GB, free: 211.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/13.04, allocations: 73.88 kB / 4.464 GB, free: 211.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.239e-05/13.04, allocations: 27.7 kB / 4.464 GB, free: 211.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/13.04, allocations: 4.953 kB / 4.464 GB, free: 211.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009248/13.05, allocations: 284.3 kB / 4.464 GB, free: 211.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/13.05, allocations: 3.625 kB / 4.464 GB, free: 211.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003732/13.05, allocations: 67.38 kB / 4.464 GB, free: 211.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/13.05, allocations: 73.34 kB / 4.464 GB, free: 211.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/13.05, allocations: 2.769 MB / 4.467 GB, free: 208.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/13.05, allocations: 64.75 kB / 4.467 GB, free: 208.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/13.05, allocations: 25.25 kB / 4.467 GB, free: 208.7 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002573/13.05, allocations: 119.8 kB / 4.467 GB, free: 208.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004953/13.05, allocations: 103.7 kB / 4.467 GB, free: 208.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/13.05, allocations: 334.4 kB / 4.467 GB, free: 208.4 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/13.05, allocations: 6.719 kB / 4.467 GB, free: 208.4 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/13.05, allocations: 3.906 kB / 4.467 GB, free: 208.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/13.05, allocations: 9.297 kB / 4.467 GB, free: 208.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004294/13.06, allocations: 2.394 MB / 4.47 GB, free: 207 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/13.06, allocations: 3.594 kB / 4.47 GB, free: 207 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005248/13.06, allocations: 73.67 kB / 4.47 GB, free: 207 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001935/13.06, allocations: 64.5 kB / 4.47 GB, free: 207 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/13.06, allocations: 11.69 kB / 4.47 GB, free: 207 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/13.06, allocations: 2.309 MB / 4.472 GB, free: 204.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/13.06, allocations: 3.688 kB / 4.472 GB, free: 204.8 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001476/13.06, allocations: 0.9574 MB / 4.473 GB, free: 204 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002251/13.06, allocations: 1.533 MB / 4.475 GB, free: 202.8 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007146/13.06, allocations: 216.8 kB / 4.475 GB, free: 202.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/13.06, allocations: 6.859 kB / 4.475 GB, free: 202.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/13.07, allocations: 65.27 kB / 4.475 GB, free: 202.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/13.07, allocations: 34.59 kB / 4.475 GB, free: 202.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/13.07, allocations: 21.12 kB / 4.475 GB, free: 202.7 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.0009942/13.07, allocations: 0.4979 MB / 4.475 GB, free: 202.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008556/13.07, allocations: 1.661 MB / 4.477 GB, free: 202.5 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00682/13.08, allocations: 3.928 MB / 4.481 GB, free: 201 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002621/13.08, allocations: 0.6675 MB / 4.482 GB, free: 200.8 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/13.08, allocations: 2.938 kB / 4.482 GB, free: 200.8 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007586/13.09, allocations: 178.2 kB / 4.482 GB, free: 200.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/13.09, allocations: 416.1 kB / 4.482 GB, free: 200.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/13.09, allocations: 1.317 MB / 4.483 GB, free: 200.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/13.09, allocations: 1.221 MB / 4.485 GB, free: 199.5 MB / 0.9792 GB Notification: Performance of SimCode: time 2.144e-06/13.09, allocations: 0 / 4.485 GB, free: 199.5 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)