Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [: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.7031/0.7031, 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.001071/0.001071, allocations: 185.3 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.572/1.572, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.0009293/0.0009292, allocations: 83.81 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.785e-06/7.885e-06, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.194, allocations: 76.74 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.903/5.097, allocations: 2.16 GB / 2.781 GB, free: 52.04 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/5.098, allocations: 83.95 kB / 2.781 GB, free: 51.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.44/7.537, allocations: 0.6016 GB / 3.383 GB, free: 110 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.516e-05/7.537, allocations: 22.92 kB / 3.383 GB, free: 110 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00272/7.54, allocations: 1.032 MB / 3.384 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/7.54, allocations: 6.656 kB / 3.384 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/7.541, allocations: 184.8 kB / 3.384 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/7.543, allocations: 0.5356 MB / 3.385 GB, free: 109.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003496/7.543, allocations: 100.8 kB / 3.385 GB, free: 109.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/7.543, allocations: 37.31 kB / 3.385 GB, free: 109.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007001/7.544, allocations: 332.9 kB / 3.385 GB, free: 109.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009385/7.545, allocations: 0.6277 MB / 3.386 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/7.545, allocations: 4.781 kB / 3.386 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-05/7.545, allocations: 6.406 kB / 3.386 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.701e-05/7.545, allocations: 19.19 kB / 3.386 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003555/7.548, allocations: 3.829 MB / 3.389 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/7.549, allocations: 74.67 kB / 3.389 GB, free: 106 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.369e-05/7.549, allocations: 58.53 kB / 3.389 GB, free: 106 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/7.549, allocations: 97.69 kB / 3.39 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/7.549, allocations: 34.31 kB / 3.39 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/7.549, allocations: 0 / 3.39 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004954/7.549, allocations: 155.2 kB / 3.39 GB, free: 105.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/7.549, allocations: 82.8 kB / 3.39 GB, free: 105.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005431/7.55, allocations: 449.4 kB / 3.39 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/7.55, allocations: 25.7 kB / 3.39 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/7.55, allocations: 357 kB / 3.391 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/7.55, allocations: 33.27 kB / 3.391 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.412e-05/7.55, allocations: 0 / 3.391 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001008/7.55, allocations: 363.7 kB / 3.391 GB, free: 105 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/7.551, allocations: 74.05 kB / 3.391 GB, free: 105 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/7.551, allocations: 304.3 kB / 3.391 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/7.551, allocations: 144 kB / 3.392 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/7.551, allocations: 2.719 kB / 3.392 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006238/7.552, allocations: 364.7 kB / 3.392 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/7.552, allocations: 5.406 kB / 3.392 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/7.552, allocations: 6.781 kB / 3.392 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/7.552, allocations: 9.625 kB / 3.392 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/7.552, allocations: 103.3 kB / 3.392 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/7.552, allocations: 19.47 kB / 3.392 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/7.553, allocations: 96.62 kB / 3.392 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/7.553, allocations: 23.11 kB / 3.392 GB, free: 104.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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.0001042/7.553, allocations: 121 kB / 3.392 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/7.553, allocations: 51.5 kB / 3.392 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/7.553, allocations: 54.52 kB / 3.392 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/7.553, allocations: 3.812 kB / 3.392 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/7.553, allocations: 0 / 3.392 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/7.553, allocations: 0 / 3.392 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/7.554, allocations: 0.864 MB / 3.393 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/7.554, allocations: 3.75 kB / 3.393 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.162e-05/7.554, allocations: 16 kB / 3.393 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/7.554, allocations: 3.938 kB / 3.393 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/7.554, allocations: 7.734 kB / 3.393 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/7.554, allocations: 3.875 kB / 3.393 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/7.554, allocations: 8.438 kB / 3.393 GB, free: 104 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002531/7.555, allocations: 318.7 kB / 3.394 GB, free: 103.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/7.555, allocations: 140.5 kB / 3.394 GB, free: 103.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.213e-05/7.555, allocations: 3.781 kB / 3.394 GB, free: 103.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/7.555, allocations: 26.11 kB / 3.394 GB, free: 103.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/7.555, allocations: 12.11 kB / 3.394 GB, free: 103.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/7.555, allocations: 2.75 kB / 3.394 GB, free: 103.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0003493/7.556, allocations: 341.3 kB / 3.394 GB, free: 103.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00104/7.557, allocations: 297.5 kB / 3.394 GB, free: 103.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.002825/7.56, allocations: 1.973 MB / 3.396 GB, free: 103 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003255/7.56, allocations: 187 kB / 3.396 GB, free: 103 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/7.56, allocations: 0 / 3.396 GB, free: 103 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.276e-05/7.56, allocations: 45.38 kB / 3.396 GB, free: 103 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008566/7.561, allocations: 169.7 kB / 3.397 GB, free: 103 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/7.562, allocations: 0.6963 MB / 3.397 GB, free: 102.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004543/7.563, allocations: 0.9805 MB / 3.398 GB, free: 102 MB / 0.6355 GB Notification: Performance of SimCode: time 2.81e-07/7.563, allocations: 3.875 kB / 3.398 GB, free: 102 MB / 0.6355 GB Notification: Performance of Templates: time 0.02718/7.59, allocations: 16.66 MB / 3.415 GB, free: 101.1 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)