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: translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe") [: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.7397/0.7397, allocations: 127.4 MB / 134.6 MB, free: 4.07 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.001248/0.001248, 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.89/1.89, allocations: 205.1 MB / 399.1 MB, free: 6.141 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.001045/0.001045, allocations: 87.39 kB / 476.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.614e-06/7.644e-06, allocations: 0 / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1791, allocations: 76.74 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.016/5.196, allocations: 2.134 GB / 2.755 GB, free: 79.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/5.196, allocations: 85.27 kB / 2.755 GB, free: 79.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.8681/6.064, allocations: 213.8 MB / 2.964 GB, free: 116 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.266e-05/6.064, allocations: 5.172 kB / 2.964 GB, free: 116 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.001998/6.066, allocations: 0.5868 MB / 2.964 GB, free: 115.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/6.066, allocations: 8.031 kB / 2.964 GB, free: 115.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/6.066, allocations: 55.67 kB / 2.964 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/6.067, allocations: 279.7 kB / 2.965 GB, free: 115 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/6.067, allocations: 4 kB / 2.965 GB, free: 115 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/6.067, allocations: 12 kB / 2.965 GB, free: 115 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003212/6.067, allocations: 176.2 kB / 2.965 GB, free: 114.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/6.068, allocations: 194.9 kB / 2.965 GB, free: 114.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/6.068, allocations: 0 / 2.965 GB, free: 114.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/6.068, allocations: 3.984 kB / 2.965 GB, free: 114.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/6.068, allocations: 12 kB / 2.965 GB, free: 114.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/6.069, allocations: 0.8409 MB / 2.966 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/6.069, allocations: 138.5 kB / 2.966 GB, free: 113.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/6.069, allocations: 96.81 kB / 2.966 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/6.07, allocations: 187.1 kB / 2.966 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/6.07, allocations: 34.55 kB / 2.966 GB, free: 113.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/6.07, allocations: 0 / 2.966 GB, free: 113.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0006066/6.07, allocations: 222.4 kB / 2.967 GB, free: 113 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/6.07, allocations: 55.31 kB / 2.967 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/6.071, allocations: 157.3 kB / 2.967 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/6.071, allocations: 25.7 kB / 2.967 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/6.071, allocations: 132.2 kB / 2.967 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/6.071, allocations: 47.25 kB / 2.967 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/6.071, allocations: 0 / 2.967 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.449e-05/6.071, allocations: 326.8 kB / 2.967 GB, free: 112.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.329e-05/6.071, allocations: 75.97 kB / 2.967 GB, free: 112.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/6.071, allocations: 103.4 kB / 2.967 GB, free: 112.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.84e-05/6.071, allocations: 77.52 kB / 2.967 GB, free: 112 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/6.071, allocations: 0 / 2.967 GB, free: 112 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002825/6.071, allocations: 198.6 kB / 2.968 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/6.071, allocations: 7.984 kB / 2.968 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/6.071, allocations: 7.938 kB / 2.968 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/6.071, allocations: 0 / 2.968 GB, free: 111.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/6.072, allocations: 35.97 kB / 2.968 GB, free: 111.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/6.072, allocations: 0 / 2.968 GB, free: 111.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/6.072, allocations: 15.98 kB / 2.968 GB, free: 111.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/6.072, allocations: 12 kB / 2.968 GB, free: 111.7 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 7.726e-05/6.072, allocations: 112.6 kB / 2.968 GB, free: 111.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/6.072, allocations: 19.8 kB / 2.968 GB, free: 111.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.394e-05/6.072, allocations: 21.47 kB / 2.968 GB, free: 111.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/6.072, allocations: 4 kB / 2.968 GB, free: 111.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/6.072, allocations: 0 / 2.968 GB, free: 111.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/6.072, allocations: 0 / 2.968 GB, free: 111.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007911/6.073, allocations: 0.6285 MB / 2.968 GB, free: 110.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/6.073, allocations: 0 / 2.968 GB, free: 110.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/6.073, allocations: 48.08 kB / 2.969 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/6.073, allocations: 0 / 2.969 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/6.073, allocations: 8 kB / 2.969 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/6.073, allocations: 4 kB / 2.969 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/6.073, allocations: 3.906 kB / 2.969 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003304/6.074, allocations: 411.7 kB / 2.969 GB, free: 110.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/6.074, allocations: 96.91 kB / 2.969 GB, free: 110.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/6.074, allocations: 4 kB / 2.969 GB, free: 110.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/6.074, allocations: 11.98 kB / 2.969 GB, free: 110.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/6.074, allocations: 19.89 kB / 2.969 GB, free: 110.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/6.074, allocations: 4 kB / 2.969 GB, free: 110.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.87e-05/6.074, allocations: 120.5 kB / 2.969 GB, free: 110.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005477/6.075, allocations: 119.8 kB / 2.969 GB, free: 109.9 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.001608/6.076, allocations: 1.03 MB / 2.97 GB, free: 109 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003/6.077, allocations: 160.4 kB / 2.97 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/6.077, allocations: 3.938 kB / 2.97 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/6.077, allocations: 99.88 kB / 2.971 GB, free: 108.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/6.077, allocations: 69.75 kB / 2.971 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006565/6.078, allocations: 309.6 kB / 2.971 GB, free: 108.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/6.078, allocations: 0.7858 MB / 2.972 GB, free: 107.5 MB / 0.6355 GB Notification: Performance of SimCode: time 8.72e-07/6.078, allocations: 0 / 2.972 GB, free: 107.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.01425/6.093, allocations: 8.671 MB / 2.98 GB, free: 98.94 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)