Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.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.Validation.LosslessPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",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.7416/0.7416, allocations: 127.4 MB / 134.6 MB, free: 4.043 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.00117/0.00117, allocations: 189.2 kB / 164.4 MB, free: 6.871 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.795/1.795, allocations: 205.1 MB / 399.1 MB, free: 6.137 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.001119/0.001119, allocations: 92.16 kB / 476.3 MB, free: 8.895 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3322/0.3334, allocations: 82.88 MB / 0.546 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.4919, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.393/5.885, allocations: 2.134 GB / 2.755 GB, free: 79.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/5.886, allocations: 83.95 kB / 2.755 GB, free: 79.02 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.9991/6.885, allocations: 214.4 MB / 2.964 GB, free: 115.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/6.885, allocations: 8 kB / 2.964 GB, free: 115.6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004947/6.885, allocations: 51.67 kB / 2.964 GB, free: 115.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006091/6.886, allocations: 283.9 kB / 2.965 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/6.886, allocations: 12 kB / 2.965 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/6.886, allocations: 8 kB / 2.965 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004635/6.887, allocations: 176.3 kB / 2.965 GB, free: 115.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/6.887, allocations: 194.9 kB / 2.965 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/6.887, allocations: 0 / 2.965 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/6.887, allocations: 0 / 2.965 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.441e-05/6.887, allocations: 8 kB / 2.965 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/6.889, allocations: 0.8393 MB / 2.966 GB, free: 114 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/6.889, allocations: 142.5 kB / 2.966 GB, free: 113.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/6.89, allocations: 92.81 kB / 2.966 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003588/6.89, allocations: 190.2 kB / 2.966 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/6.89, allocations: 34.56 kB / 2.966 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.794e-06/6.89, allocations: 0 / 2.966 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0008157/6.891, allocations: 222.3 kB / 2.967 GB, free: 113.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/6.891, allocations: 59.31 kB / 2.967 GB, free: 113.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/6.891, allocations: 153.3 kB / 2.967 GB, free: 113 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/6.891, allocations: 25.7 kB / 2.967 GB, free: 113 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/6.891, allocations: 132.2 kB / 2.967 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.472e-05/6.891, allocations: 51.3 kB / 2.967 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/6.891, allocations: 3.938 kB / 2.967 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001053/6.892, allocations: 322.8 kB / 2.967 GB, free: 112.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/6.892, allocations: 63.97 kB / 2.967 GB, free: 112.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/6.892, allocations: 107.9 kB / 2.967 GB, free: 112.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/6.892, allocations: 69.45 kB / 2.968 GB, free: 112.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/6.892, allocations: 4 kB / 2.968 GB, free: 112.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000444/6.892, allocations: 203.8 kB / 2.968 GB, free: 112 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/6.893, allocations: 4 kB / 2.968 GB, free: 112 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/6.893, allocations: 11.84 kB / 2.968 GB, free: 112 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/6.893, allocations: 0 / 2.968 GB, free: 112 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/6.893, allocations: 31.97 kB / 2.968 GB, free: 112 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/6.893, allocations: 4 kB / 2.968 GB, free: 112 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002569/6.893, allocations: 16.02 kB / 2.968 GB, free: 112 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/6.893, allocations: 12 kB / 2.968 GB, free: 111.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001075/6.893, allocations: 120 kB / 2.968 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/6.893, allocations: 15.81 kB / 2.968 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.912e-05/6.894, allocations: 21.47 kB / 2.968 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/6.894, allocations: 8 kB / 2.968 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/6.894, allocations: 48 / 2.968 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/6.894, allocations: 3.984 kB / 2.968 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/6.895, allocations: 0.6324 MB / 2.969 GB, free: 111.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/6.895, allocations: 0 / 2.969 GB, free: 111.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/6.895, allocations: 35.91 kB / 2.969 GB, free: 111.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/6.895, allocations: 4 kB / 2.969 GB, free: 111 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/6.895, allocations: 12 kB / 2.969 GB, free: 111 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/6.895, allocations: 0 / 2.969 GB, free: 111 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/6.895, allocations: 7.906 kB / 2.969 GB, free: 111 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004866/6.896, allocations: 414.8 kB / 2.969 GB, free: 110.6 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007216/6.896, allocations: 0.7998 MB / 2.97 GB, free: 109.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/6.896, allocations: 92.86 kB / 2.97 GB, free: 109.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/6.897, allocations: 11.84 kB / 2.97 GB, free: 109.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/6.897, allocations: 19.92 kB / 2.97 GB, free: 109.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/6.897, allocations: 11.98 kB / 2.97 GB, free: 109.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/6.897, allocations: 8 kB / 2.97 GB, free: 109.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001045/6.897, allocations: 124.4 kB / 2.97 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002074/6.899, allocations: 195.9 kB / 2.97 GB, free: 109.2 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 (13): * Single equations (assignments): 13 * 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.002634/6.902, allocations: 1.026 MB / 2.971 GB, free: 108.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005075/6.902, allocations: 163.8 kB / 2.971 GB, free: 108 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/6.902, allocations: 4 kB / 2.971 GB, free: 108 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/6.903, allocations: 92.14 kB / 2.972 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008566/6.903, allocations: 73.39 kB / 2.972 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/6.905, allocations: 304.6 kB / 2.972 GB, free: 107.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005403/6.905, allocations: 0.7858 MB / 2.973 GB, free: 106.7 MB / 0.6355 GB Notification: Performance of SimCode: time 3.61e-07/6.905, allocations: 0 / 2.973 GB, free: 106.7 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)