Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",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.1.4-maint.8.1.x/package.mo): time 1.683/1.683, allocations: 289.8 MB / 297.1 MB, free: 6.613 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.001244/0.001244, allocations: 169.3 kB / 366.3 MB, free: 1.941 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.772/1.772, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0009694/0.0009695, allocations: 92.05 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2684/0.2694, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7353/1.005, allocations: 116.3 MB / 0.9726 GB, free: 68.29 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/2.027, allocations: 456.8 MB / 1.419 GB, free: 28.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/2.027, allocations: 104.2 kB / 1.419 GB, free: 28.92 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 3.026/5.053, allocations: 0.8761 GB / 2.295 GB, free: 9.562 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 9.356e-05/5.053, allocations: 15.94 kB / 2.295 GB, free: 9.547 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/5.056, allocations: 421.4 kB / 2.295 GB, free: 9.133 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6167/5.672, allocations: 9.621 MB / 2.305 GB, free: 199.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.37e-05/5.672, allocations: 36.34 kB / 2.305 GB, free: 199.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/5.672, allocations: 71.72 kB / 2.305 GB, free: 199.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001634/5.674, allocations: 0.7528 MB / 2.306 GB, free: 199.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/5.676, allocations: 1.013 MB / 2.307 GB, free: 198.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.327e-05/5.676, allocations: 7.562 kB / 2.307 GB, free: 198.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-05/5.676, allocations: 4.844 kB / 2.307 GB, free: 198.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.274e-05/5.676, allocations: 32.11 kB / 2.307 GB, free: 198.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008439/5.684, allocations: 6.986 MB / 2.313 GB, free: 194.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000744/5.685, allocations: 445.5 kB / 2.314 GB, free: 194.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004857/5.686, allocations: 335.7 kB / 2.314 GB, free: 194.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/5.687, allocations: 1.778 MB / 2.316 GB, free: 192.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005798/5.688, allocations: 389.7 kB / 2.316 GB, free: 192.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.415e-06/5.688, allocations: 0 / 2.316 GB, free: 192.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002519/5.69, allocations: 0.9065 MB / 2.317 GB, free: 192.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/5.69, allocations: 84.7 kB / 2.317 GB, free: 192.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/5.692, allocations: 0.9724 MB / 2.318 GB, free: 192.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.049e-05/5.692, allocations: 25.7 kB / 2.318 GB, free: 192.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004142/5.692, allocations: 491.2 kB / 2.319 GB, free: 191.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/5.693, allocations: 254.5 kB / 2.319 GB, free: 191.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/5.693, allocations: 0 / 2.319 GB, free: 191.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.206e-05/5.693, allocations: 337.8 kB / 2.319 GB, free: 191.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/5.693, allocations: 267.2 kB / 2.32 GB, free: 191.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005935/5.694, allocations: 0.5343 MB / 2.32 GB, free: 191.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/5.695, allocations: 0.5012 MB / 2.321 GB, free: 191.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/5.695, allocations: 3.938 kB / 2.321 GB, free: 191.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00239/5.698, allocations: 1.09 MB / 2.322 GB, free: 191.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006579/5.698, allocations: 2.759 MB / 2.324 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/5.698, allocations: 8.438 kB / 2.324 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/5.698, allocations: 14.45 kB / 2.324 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008938/5.699, allocations: 223.2 kB / 2.325 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-05/5.699, allocations: 21.33 kB / 2.325 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/5.701, allocations: 149 kB / 2.325 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/5.701, allocations: 52.92 kB / 2.325 GB, free: 188.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/5.701, allocations: 3.094 kB / 2.325 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002153/5.703, allocations: 0.9161 MB / 2.326 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/5.703, allocations: 14.02 kB / 2.326 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/5.703, allocations: 14.98 kB / 2.326 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008368/5.704, allocations: 227.1 kB / 2.326 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/5.704, allocations: 13.25 kB / 2.326 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/5.705, allocations: 139.7 kB / 2.326 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.562e-05/5.705, allocations: 54.7 kB / 2.326 GB, free: 188.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,eneLosInt.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002689/5.705, allocations: 134.7 kB / 2.326 GB, free: 188.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/5.706, allocations: 140.8 kB / 2.326 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003306/5.709, allocations: 1.49 MB / 2.328 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/5.709, allocations: 18.39 kB / 2.328 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/5.709, allocations: 0 / 2.328 GB, free: 188 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001944/5.711, allocations: 1.185 MB / 2.329 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005121/5.716, allocations: 2.484 MB / 2.331 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/5.716, allocations: 3.938 kB / 2.331 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/5.717, allocations: 184.3 kB / 2.332 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/5.717, allocations: 7.062 kB / 2.332 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.736e-05/5.717, allocations: 16.86 kB / 2.332 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/5.717, allocations: 7.469 kB / 2.332 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/5.717, allocations: 0 / 2.332 GB, free: 187.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003013/5.72, allocations: 1.8 MB / 2.333 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003787/5.724, allocations: 2.799 MB / 2.336 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000756/5.725, allocations: 357.1 kB / 2.336 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/5.725, allocations: 0 / 2.336 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/5.726, allocations: 111.7 kB / 2.337 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/5.726, allocations: 53.52 kB / 2.337 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.09e-05/5.726, allocations: 42.81 kB / 2.337 GB, free: 186 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001064/5.727, allocations: 0.7214 MB / 2.337 GB, free: 185.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004686/5.732, allocations: 1.188 MB / 2.339 GB, free: 185.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pipe.cor.del.x,pipe.cor.timDel.x,pipe.vol.dynBal.U,eneLosInt.y) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.002279/5.734, allocations: 1.177 MB / 2.34 GB, free: 185.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002295/5.737, allocations: 1.4 MB / 2.341 GB, free: 185.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/5.737, allocations: 0 / 2.341 GB, free: 185.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006364/5.737, allocations: 0.5294 MB / 2.342 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/5.74, allocations: 0.5133 MB / 2.342 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006577/5.746, allocations: 2.339 MB / 2.344 GB, free: 185 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/5.748, allocations: 1.453 MB / 2.346 GB, free: 184.2 MB / 0.948 GB Notification: Performance of SimCode: time 9.12e-07/5.748, allocations: 0 / 2.346 GB, free: 184.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg_fmu --startTime=0 --stopTime=875 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)