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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.7354/0.7354, allocations: 127.4 MB / 134.6 MB, free: 4.082 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.001535/0.001536, allocations: 193.2 kB / 164.4 MB, free: 6.883 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.735/1.735, allocations: 205.1 MB / 399.1 MB, free: 6.172 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.0008523/0.0008521, allocations: 79.39 kB / 476.3 MB, free: 8.922 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.342/0.3429, allocations: 82.88 MB / 0.5461 GB, free: 42.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.5149, allocations: 76.75 MB / 0.621 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.703/5.218, allocations: 2.16 GB / 2.781 GB, free: 64.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/5.218, allocations: 83.95 kB / 2.781 GB, free: 64.61 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 2.661/7.879, allocations: 0.6026 GB / 3.384 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.956e-05/7.879, allocations: 10.69 kB / 3.384 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/7.881, allocations: 178.9 kB / 3.384 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/7.882, allocations: 0.5372 MB / 3.385 GB, free: 106.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003892/7.883, allocations: 100.8 kB / 3.385 GB, free: 106.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/7.883, allocations: 32.91 kB / 3.385 GB, free: 106.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009383/7.884, allocations: 329.3 kB / 3.385 GB, free: 106.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/7.885, allocations: 0.6253 MB / 3.386 GB, free: 106.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/7.885, allocations: 6.5 kB / 3.386 GB, free: 106.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.926e-05/7.885, allocations: 3.188 kB / 3.386 GB, free: 106.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-05/7.885, allocations: 30.73 kB / 3.386 GB, free: 106.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005543/7.891, allocations: 3.819 MB / 3.389 GB, free: 103.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/7.891, allocations: 88.05 kB / 3.39 GB, free: 103.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/7.891, allocations: 52.44 kB / 3.39 GB, free: 103.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/7.891, allocations: 95.91 kB / 3.39 GB, free: 103.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/7.891, allocations: 34.31 kB / 3.39 GB, free: 103.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 4.869e-06/7.892, allocations: 0 / 3.39 GB, free: 103.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0007758/7.892, allocations: 152.9 kB / 3.39 GB, free: 103.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/7.892, allocations: 80.67 kB / 3.39 GB, free: 103.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006746/7.893, allocations: 459.5 kB / 3.39 GB, free: 103.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/7.893, allocations: 33.55 kB / 3.39 GB, free: 103 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/7.893, allocations: 351.3 kB / 3.391 GB, free: 102.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/7.893, allocations: 35.28 kB / 3.391 GB, free: 102.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/7.893, allocations: 0 / 3.391 GB, free: 102.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000124/7.894, allocations: 361.1 kB / 3.391 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/7.894, allocations: 75.78 kB / 3.391 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/7.894, allocations: 308.4 kB / 3.391 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/7.894, allocations: 138.4 kB / 3.392 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/7.894, allocations: 0 / 3.392 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007567/7.895, allocations: 367.6 kB / 3.392 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/7.895, allocations: 3.969 kB / 3.392 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/7.895, allocations: 7.688 kB / 3.392 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.199e-05/7.895, allocations: 11.62 kB / 3.392 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/7.896, allocations: 94.58 kB / 3.392 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/7.896, allocations: 12.34 kB / 3.392 GB, free: 102.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007973/7.896, allocations: 99.88 kB / 3.392 GB, free: 102.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/7.896, allocations: 26.03 kB / 3.392 GB, free: 102.1 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.0001638/7.897, allocations: 122.4 kB / 3.392 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/7.897, allocations: 48.25 kB / 3.392 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/7.897, allocations: 51.77 kB / 3.392 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/7.897, allocations: 7.562 kB / 3.392 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/7.897, allocations: 0 / 3.392 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/7.897, allocations: 5.906 kB / 3.392 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/7.898, allocations: 0.858 MB / 3.393 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/7.898, allocations: 3.938 kB / 3.393 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.565e-05/7.898, allocations: 22.81 kB / 3.393 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-06/7.898, allocations: 3.75 kB / 3.393 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/7.898, allocations: 2.516 kB / 3.393 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/7.898, allocations: 7.125 kB / 3.393 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/7.898, allocations: 3.75 kB / 3.393 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000389/7.899, allocations: 318.3 kB / 3.394 GB, free: 101.2 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008592/7.9, allocations: 0.7785 MB / 3.394 GB, free: 100.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/7.9, allocations: 141.9 kB / 3.394 GB, free: 100.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.531e-05/7.9, allocations: 10.44 kB / 3.395 GB, free: 100.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/7.9, allocations: 26.72 kB / 3.395 GB, free: 100.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/7.9, allocations: 9.578 kB / 3.395 GB, free: 100.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/7.9, allocations: 3.938 kB / 3.395 GB, free: 100.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004125/7.901, allocations: 338.4 kB / 3.395 GB, free: 100.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002424/7.903, allocations: 0.4903 MB / 3.395 GB, free: 100.3 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.004186/7.907, allocations: 1.979 MB / 3.397 GB, free: 99.81 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006092/7.908, allocations: 181.3 kB / 3.397 GB, free: 99.81 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.956e-06/7.908, allocations: 0 / 3.397 GB, free: 99.81 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.952e-05/7.908, allocations: 46.72 kB / 3.397 GB, free: 99.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/7.909, allocations: 184.6 kB / 3.398 GB, free: 99.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/7.912, allocations: 0.6913 MB / 3.398 GB, free: 99.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000894/7.913, allocations: 0.9906 MB / 3.399 GB, free: 98.8 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/7.913, allocations: 0 / 3.399 GB, free: 98.8 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)