Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.593/1.593, allocations: 289.8 MB / 297.1 MB, free: 9.004 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.001292/0.001292, allocations: 184.9 kB / 366.3 MB, free: 11.27 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.56/1.56, allocations: 205.1 MB / 0.6256 GB, free: 11.39 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009936/0.0009935, allocations: 96.58 kB / 0.7396 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.5632/0.5642, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.7878, allocations: 116.3 MB / 0.9726 GB, free: 31.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.563/5.351, allocations: 2.084 GB / 3.057 GB, free: 213.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/5.351, allocations: 83.94 kB / 3.057 GB, free: 213.7 MB / 0.948 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.206/7.557, allocations: 0.6079 GB / 3.665 GB, free: 197.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/7.557, allocations: 10.75 kB / 3.665 GB, free: 197.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/7.558, allocations: 192.5 kB / 3.665 GB, free: 197.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/7.56, allocations: 0.5434 MB / 3.666 GB, free: 197.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003524/7.56, allocations: 96.05 kB / 3.666 GB, free: 197.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/7.56, allocations: 35.31 kB / 3.666 GB, free: 197.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007823/7.561, allocations: 325.7 kB / 3.666 GB, free: 197.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009348/7.562, allocations: 0.6466 MB / 3.667 GB, free: 196.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/7.562, allocations: 3.812 kB / 3.667 GB, free: 196.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/7.562, allocations: 0 / 3.667 GB, free: 196.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/7.562, allocations: 23.81 kB / 3.667 GB, free: 196.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003934/7.566, allocations: 4.099 MB / 3.671 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/7.566, allocations: 106.3 kB / 3.671 GB, free: 193.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.817e-05/7.566, allocations: 66.72 kB / 3.671 GB, free: 193.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/7.567, allocations: 99.06 kB / 3.671 GB, free: 193.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/7.567, allocations: 33.78 kB / 3.671 GB, free: 193.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 4.779e-06/7.567, allocations: 3.891 kB / 3.671 GB, free: 193.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.000558/7.567, allocations: 167.9 kB / 3.671 GB, free: 193.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/7.567, allocations: 131.6 kB / 3.671 GB, free: 193.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/7.568, allocations: 454 kB / 3.672 GB, free: 193.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/7.568, allocations: 25.7 kB / 3.672 GB, free: 193.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/7.568, allocations: 351.8 kB / 3.672 GB, free: 193 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/7.568, allocations: 42.94 kB / 3.672 GB, free: 193 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/7.568, allocations: 3.25 kB / 3.672 GB, free: 193 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/7.568, allocations: 363 kB / 3.673 GB, free: 192.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/7.568, allocations: 76.2 kB / 3.673 GB, free: 192.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/7.569, allocations: 314.7 kB / 3.673 GB, free: 192.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/7.569, allocations: 145.6 kB / 3.673 GB, free: 192.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/7.569, allocations: 2.781 kB / 3.673 GB, free: 192.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005897/7.569, allocations: 368.8 kB / 3.673 GB, free: 192.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/7.569, allocations: 7.406 kB / 3.673 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/7.569, allocations: 8.562 kB / 3.673 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/7.569, allocations: 14.23 kB / 3.673 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/7.57, allocations: 95.95 kB / 3.674 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/7.57, allocations: 20 kB / 3.674 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006409/7.57, allocations: 95.77 kB / 3.674 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/7.571, allocations: 27.88 kB / 3.674 GB, free: 192.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 9.736e-05/7.571, allocations: 122.1 kB / 3.674 GB, free: 192.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/7.571, allocations: 54.16 kB / 3.674 GB, free: 192.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.973e-05/7.571, allocations: 53.69 kB / 3.674 GB, free: 192.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/7.571, allocations: 3.188 kB / 3.674 GB, free: 192.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/7.571, allocations: 3.906 kB / 3.674 GB, free: 192.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/7.571, allocations: 0 / 3.674 GB, free: 192.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/7.572, allocations: 1.03 MB / 3.675 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/7.572, allocations: 3.438 kB / 3.675 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-05/7.572, allocations: 21.91 kB / 3.675 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/7.572, allocations: 3.25 kB / 3.675 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/7.572, allocations: 3.812 kB / 3.675 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/7.572, allocations: 6.969 kB / 3.675 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/7.572, allocations: 3 kB / 3.675 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002955/7.573, allocations: 337 kB / 3.675 GB, free: 191.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006809/7.573, allocations: 0.8069 MB / 3.676 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/7.573, allocations: 138.2 kB / 3.676 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.404e-05/7.574, allocations: 11.78 kB / 3.676 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/7.574, allocations: 25.27 kB / 3.676 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/7.574, allocations: 10.34 kB / 3.676 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/7.574, allocations: 7.438 kB / 3.676 GB, free: 190.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000371/7.574, allocations: 335.5 kB / 3.677 GB, free: 190.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00208/7.576, allocations: 0.5129 MB / 3.677 GB, free: 190.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002798/7.579, allocations: 1.944 MB / 3.679 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003663/7.58, allocations: 185.9 kB / 3.679 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/7.58, allocations: 0 / 3.679 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.692e-05/7.58, allocations: 46.62 kB / 3.679 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009204/7.581, allocations: 180.6 kB / 3.679 GB, free: 189.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/7.582, allocations: 0.7099 MB / 3.68 GB, free: 189.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005359/7.583, allocations: 0.9886 MB / 3.681 GB, free: 188.8 MB / 0.948 GB Notification: Performance of SimCode: time 3.7e-07/7.583, allocations: 0 / 3.681 GB, free: 188.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)