Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.762/0.762, 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.001371/0.00137, allocations: 185.3 kB / 164.4 MB, free: 6.844 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.948/1.948, allocations: 205.1 MB / 399.1 MB, free: 6.062 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.000906/0.0009062, allocations: 88.44 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3337/0.3346, allocations: 82.9 MB / 0.5461 GB, free: 42.61 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.529, allocations: 76.76 MB / 0.621 GB, free: 13.78 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5978/1.127, allocations: 105 MB / 0.7236 GB, free: 7.219 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/1.127, allocations: 91.94 kB / 0.7237 GB, free: 7.129 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 2.514/3.642, allocations: 399.2 MB / 1.113 GB, free: 170.1 MB / 0.6356 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/3.642, allocations: 9.969 kB / 1.113 GB, free: 170.1 MB / 0.6356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/3.652, allocations: 3.712 MB / 1.117 GB, free: 168 MB / 0.6356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06893/3.721, allocations: 24.12 MB / 1.141 GB, free: 164.7 MB / 0.6356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/3.721, allocations: 7.281 kB / 1.141 GB, free: 164.7 MB / 0.6356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/3.721, allocations: 3.312 kB / 1.141 GB, free: 164.7 MB / 0.6356 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003565/3.721, allocations: 174.8 kB / 1.141 GB, free: 164.7 MB / 0.6356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/3.721, allocations: 104.7 kB / 1.141 GB, free: 164.6 MB / 0.6356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/3.722, allocations: 3.906 kB / 1.141 GB, free: 164.6 MB / 0.6356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/3.722, allocations: 3.562 kB / 1.141 GB, free: 164.6 MB / 0.6356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/3.722, allocations: 3.312 kB / 1.141 GB, free: 164.6 MB / 0.6356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05322/3.775, allocations: 19.36 MB / 1.16 GB, free: 163.8 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/3.775, allocations: 150.1 kB / 1.16 GB, free: 163.7 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/3.775, allocations: 57.64 kB / 1.16 GB, free: 163.7 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.131e-05/3.775, allocations: 10.45 kB / 1.16 GB, free: 163.7 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/3.776, allocations: 121.3 kB / 1.16 GB, free: 163.6 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=13): time 3.186e-06/3.776, allocations: 0 / 1.16 GB, free: 163.6 MB / 0.6356 GB Notification: Performance of matching and sorting (n=13): time 0.01434/3.79, allocations: 3.867 MB / 1.164 GB, free: 161.5 MB / 0.6356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/3.79, allocations: 54.78 kB / 1.164 GB, free: 161.4 MB / 0.6356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.209/4.999, allocations: 70.56 MB / 1.233 GB, free: 130.4 MB / 0.6356 GB Notification: Performance of collectPreVariables (initialization): time 8.541e-05/4.999, allocations: 25.7 kB / 1.233 GB, free: 130.4 MB / 0.6356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0166/5.015, allocations: 5.259 MB / 1.238 GB, free: 126.3 MB / 0.6356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/5.016, allocations: 45.05 kB / 1.238 GB, free: 126.3 MB / 0.6356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/5.016, allocations: 0 / 1.238 GB, free: 126.3 MB / 0.6356 GB Notification: Performance of setup shared object (initialization): time 9.345e-05/5.016, allocations: 313.7 kB / 1.238 GB, free: 126 MB / 0.6356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/5.016, allocations: 52.33 kB / 1.238 GB, free: 126 MB / 0.6356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/5.016, allocations: 83.84 kB / 1.239 GB, free: 125.9 MB / 0.6356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/5.016, allocations: 61.16 kB / 1.239 GB, free: 125.8 MB / 0.6356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/5.016, allocations: 0 / 1.239 GB, free: 125.8 MB / 0.6356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.01292/5.029, allocations: 3.882 MB / 1.242 GB, free: 121.9 MB / 0.6356 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/5.029, allocations: 4 kB / 1.242 GB, free: 121.9 MB / 0.6356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/5.029, allocations: 4 kB / 1.242 GB, free: 121.9 MB / 0.6356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/5.029, allocations: 0 / 1.242 GB, free: 121.9 MB / 0.6356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/5.029, allocations: 34.27 kB / 1.242 GB, free: 121.9 MB / 0.6356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/5.029, allocations: 3.938 kB / 1.242 GB, free: 121.9 MB / 0.6356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01412/5.044, allocations: 14.67 kB / 1.242 GB, free: 121.9 MB / 0.6356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/5.044, allocations: 4 kB / 1.242 GB, free: 121.9 MB / 0.6356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001561/5.044, allocations: 109 kB / 1.243 GB, free: 121.8 MB / 0.6356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01442/5.058, allocations: 3.708 MB / 1.246 GB, free: 118 MB / 0.6356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02036/5.079, allocations: 4.953 MB / 1.251 GB, free: 113.7 MB / 0.6356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/5.079, allocations: 4 kB / 1.251 GB, free: 113.7 MB / 0.6356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/5.079, allocations: 0 / 1.251 GB, free: 113.7 MB / 0.6356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/5.079, allocations: 3.703 kB / 1.251 GB, free: 113.7 MB / 0.6356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06569/5.144, allocations: 17.33 MB / 1.268 GB, free: 101.9 MB / 0.6356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/5.145, allocations: 4 kB / 1.268 GB, free: 101.9 MB / 0.6356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/5.145, allocations: 31.84 kB / 1.268 GB, free: 101.9 MB / 0.6356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/5.145, allocations: 0 / 1.268 GB, free: 101.9 MB / 0.6356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/5.145, allocations: 4 kB / 1.268 GB, free: 101.9 MB / 0.6356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/5.145, allocations: 2.438 kB / 1.268 GB, free: 101.9 MB / 0.6356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/5.145, allocations: 0 / 1.268 GB, free: 101.9 MB / 0.6356 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01403/5.159, allocations: 4.179 MB / 1.272 GB, free: 97.66 MB / 0.6356 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01727/5.176, allocations: 5.362 MB / 1.277 GB, free: 92.25 MB / 0.6356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02198/5.198, allocations: 7.921 MB / 1.285 GB, free: 84.88 MB / 0.6356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01261/5.211, allocations: 0 / 1.285 GB, free: 84.88 MB / 0.6356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01271/5.224, allocations: 7.906 kB / 1.285 GB, free: 84.88 MB / 0.6356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/5.224, allocations: 18.02 kB / 1.285 GB, free: 84.86 MB / 0.6356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/5.224, allocations: 7.703 kB / 1.285 GB, free: 84.86 MB / 0.6356 GB Notification: Performance of sort global known variables: time 0.1737/5.398, allocations: 55.58 MB / 1.339 GB, free: 35.72 MB / 0.6356 GB Notification: Performance of remove unused functions: time 0.02002/5.418, allocations: 3.321 MB / 1.343 GB, free: 32.41 MB / 0.6356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001127/5.419, allocations: 325.2 kB / 1.343 GB, free: 32.25 MB / 0.6356 GB Notification: Performance of simCode: created initialization part: time 0.0004518/5.419, allocations: 152.9 kB / 1.343 GB, free: 32.11 MB / 0.6356 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/5.419, allocations: 0 / 1.343 GB, free: 32.11 MB / 0.6356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/5.42, allocations: 94.39 kB / 1.343 GB, free: 32.03 MB / 0.6356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03125/5.451, allocations: 1.83 MB / 1.345 GB, free: 30.21 MB / 0.6356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9376/6.388, allocations: 69.12 MB / 1.412 GB, free: 155 MB / 0.6356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05019/6.439, allocations: 17.63 MB / 1.43 GB, free: 153.5 MB / 0.6356 GB Notification: Performance of SimCode: time 1.783e-06/6.439, allocations: 0 / 1.43 GB, free: 153.5 MB / 0.6356 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)