Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",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/BuildSysPro 3.5.0/package.mo): time 0.9086/0.9086, allocations: 127.4 MB / 134.6 MB, free: 4.066 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 181.2 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.906/1.906, allocations: 205.1 MB / 399.1 MB, free: 6.164 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001021, allocations: 81.66 kB / 476.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3941/0.3951, allocations: 82.88 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.603, allocations: 76.76 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.224/5.828, allocations: 2.137 GB / 2.758 GB, free: 76.86 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/5.828, allocations: 83.95 kB / 2.758 GB, free: 76.77 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.7981/6.626, allocations: 219.6 MB / 2.972 GB, free: 108.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/6.626, allocations: 12 kB / 2.972 GB, free: 108.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004606/6.626, allocations: 55.67 kB / 2.972 GB, free: 108.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/6.627, allocations: 313.4 kB / 2.973 GB, free: 108 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/6.627, allocations: 4 kB / 2.973 GB, free: 108 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/6.627, allocations: 8 kB / 2.973 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002081/6.627, allocations: 95.91 kB / 2.973 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/6.627, allocations: 129.5 kB / 2.973 GB, free: 107.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/6.627, allocations: 0 / 2.973 GB, free: 107.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/6.628, allocations: 0 / 2.973 GB, free: 107.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/6.628, allocations: 4 kB / 2.973 GB, free: 107.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009776/6.629, allocations: 0.5831 MB / 2.973 GB, free: 107.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/6.629, allocations: 90.67 kB / 2.974 GB, free: 107 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.828e-05/6.629, allocations: 56.84 kB / 2.974 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/6.629, allocations: 190.2 kB / 2.974 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/6.629, allocations: 34.56 kB / 2.974 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/6.629, allocations: 0 / 2.974 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0007752/6.63, allocations: 177.5 kB / 2.974 GB, free: 106.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/6.63, allocations: 51.41 kB / 2.974 GB, free: 106.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/6.63, allocations: 180.1 kB / 2.974 GB, free: 106.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/6.63, allocations: 29.8 kB / 2.974 GB, free: 106.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/6.63, allocations: 132.1 kB / 2.974 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/6.63, allocations: 35.55 kB / 2.974 GB, free: 106 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/6.63, allocations: 0 / 2.974 GB, free: 106 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.369e-05/6.63, allocations: 326.8 kB / 2.975 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/6.63, allocations: 31.98 kB / 2.975 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.715e-05/6.631, allocations: 78 kB / 2.975 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.857e-05/6.631, allocations: 47.91 kB / 2.975 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/6.631, allocations: 0 / 2.975 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002104/6.631, allocations: 121.5 kB / 2.975 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.492e-05/6.631, allocations: 278.9 kB / 2.975 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/6.631, allocations: 7.906 kB / 2.975 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/6.631, allocations: 0 / 2.975 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/6.631, allocations: 31.97 kB / 2.975 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/6.631, allocations: 4 kB / 2.975 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/6.631, allocations: 23.98 kB / 2.975 GB, free: 105 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/6.632, allocations: 15.92 kB / 2.975 GB, free: 105 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/6.632, allocations: 4 kB / 2.975 GB, free: 105 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001177/6.632, allocations: 59.91 kB / 2.975 GB, free: 105 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/6.632, allocations: 0 / 2.975 GB, free: 105 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-06/6.632, allocations: 4 kB / 2.975 GB, free: 105 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/6.632, allocations: 27.98 kB / 2.975 GB, free: 104.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/6.632, allocations: 7.906 kB / 2.975 GB, free: 104.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/6.632, allocations: 19.91 kB / 2.975 GB, free: 104.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/6.632, allocations: 8 kB / 2.975 GB, free: 104.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 9.705e-05/6.632, allocations: 108.9 kB / 2.976 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/6.632, allocations: 19.72 kB / 2.976 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.384e-05/6.632, allocations: 25.7 kB / 2.976 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/6.632, allocations: 0 / 2.976 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/6.632, allocations: 0 / 2.976 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/6.632, allocations: 0 / 2.976 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006564/6.633, allocations: 0.5194 MB / 2.976 GB, free: 104.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/6.633, allocations: 4 kB / 2.976 GB, free: 104.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/6.633, allocations: 40.09 kB / 2.976 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/6.633, allocations: 4 kB / 2.976 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/6.633, allocations: 0 / 2.976 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/6.633, allocations: 4 kB / 2.976 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/6.633, allocations: 0 / 2.976 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002474/6.633, allocations: 330.7 kB / 2.977 GB, free: 103.7 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004629/6.634, allocations: 0.7295 MB / 2.977 GB, free: 102.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/6.634, allocations: 104.8 kB / 2.977 GB, free: 102.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/6.634, allocations: 3.984 kB / 2.977 GB, free: 102.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/6.634, allocations: 23.98 kB / 2.977 GB, free: 102.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/6.634, allocations: 7.984 kB / 2.977 GB, free: 102.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/6.634, allocations: 4 kB / 2.977 GB, free: 102.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.488e-05/6.634, allocations: 152.5 kB / 2.977 GB, free: 102.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002205/6.637, allocations: 343.6 kB / 2.978 GB, free: 102.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.001646/6.638, allocations: 1.032 MB / 2.979 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002999/6.639, allocations: 133.1 kB / 2.979 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/6.639, allocations: 0 / 2.979 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.445e-05/6.639, allocations: 51.91 kB / 2.979 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/6.639, allocations: 96.06 kB / 2.979 GB, free: 101 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006181/6.64, allocations: 293.9 kB / 2.979 GB, free: 100.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/6.64, allocations: 0.7867 MB / 2.98 GB, free: 99.84 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/6.64, allocations: 0 / 2.98 GB, free: 99.84 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)