Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.625/1.625, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001124/0.001124, allocations: 177.3 kB / 366.3 MB, free: 1.977 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.655/1.655, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.001078/0.001077, allocations: 85.78 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3188/0.3199, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7501/1.07, allocations: 116.3 MB / 0.9726 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.454/5.524, allocations: 2.075 GB / 3.047 GB, free: 0.8359 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/5.524, allocations: 88.45 kB / 3.047 GB, free: 0.75 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 2.306/7.831, allocations: 0.5652 GB / 3.612 GB, free: 168.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.838e-05/7.831, allocations: 12 kB / 3.613 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/7.833, allocations: 346.2 kB / 3.613 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/7.834, allocations: 0.7966 MB / 3.614 GB, free: 167.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000328/7.835, allocations: 109.9 kB / 3.614 GB, free: 167.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/7.835, allocations: 52.66 kB / 3.614 GB, free: 167.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001124/7.836, allocations: 0.7029 MB / 3.614 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/7.837, allocations: 0.8825 MB / 3.615 GB, free: 165.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/7.837, allocations: 3.938 kB / 3.615 GB, free: 165.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.902e-05/7.837, allocations: 4 kB / 3.615 GB, free: 165.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.643e-05/7.837, allocations: 43.31 kB / 3.615 GB, free: 165.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005214/7.843, allocations: 3.903 MB / 3.619 GB, free: 161.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/7.843, allocations: 370.9 kB / 3.62 GB, free: 161.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/7.843, allocations: 199.4 kB / 3.62 GB, free: 161.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/7.844, allocations: 101.1 kB / 3.62 GB, free: 161 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/7.844, allocations: 38.56 kB / 3.62 GB, free: 160.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.314e-06/7.844, allocations: 4 kB / 3.62 GB, free: 160.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=38): time 0.002265/7.846, allocations: 1.111 MB / 3.621 GB, free: 159.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/7.846, allocations: 55.41 kB / 3.621 GB, free: 159.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005953/7.847, allocations: 0.5597 MB / 3.622 GB, free: 159.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/7.847, allocations: 29.7 kB / 3.622 GB, free: 159.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/7.847, allocations: 418.3 kB / 3.622 GB, free: 158.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.747e-05/7.847, allocations: 130 kB / 3.622 GB, free: 158.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/7.847, allocations: 0 / 3.622 GB, free: 158.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001061/7.847, allocations: 374.8 kB / 3.622 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/7.847, allocations: 201.2 kB / 3.623 GB, free: 158 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/7.848, allocations: 366.6 kB / 3.623 GB, free: 157.6 MB / 0.948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/7.849, allocations: 0.7173 MB / 3.624 GB, free: 156.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/7.849, allocations: 0 / 3.624 GB, free: 156.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008696/7.85, allocations: 0.6321 MB / 3.624 GB, free: 156.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/7.85, allocations: 4 kB / 3.624 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/7.85, allocations: 8 kB / 3.624 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/7.85, allocations: 8 kB / 3.624 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/7.851, allocations: 144.1 kB / 3.624 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/7.851, allocations: 13.2 kB / 3.624 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000889/7.852, allocations: 87.72 kB / 3.625 GB, free: 155.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/7.852, allocations: 24 kB / 3.625 GB, free: 155.9 MB / 0.948 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0001452/7.852, allocations: 128.7 kB / 3.625 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/7.852, allocations: 79.06 kB / 3.625 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/7.852, allocations: 78.78 kB / 3.625 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/7.852, allocations: 4 kB / 3.625 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/7.852, allocations: 0 / 3.625 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005099/7.853, allocations: 0.6443 MB / 3.625 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/7.855, allocations: 1.45 MB / 3.627 GB, free: 153.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/7.855, allocations: 11.98 kB / 3.627 GB, free: 153.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/7.855, allocations: 83.91 kB / 3.627 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/7.855, allocations: 4.562 kB / 3.627 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/7.856, allocations: 11.98 kB / 3.627 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/7.856, allocations: 4.5 kB / 3.627 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/7.856, allocations: 11.94 kB / 3.627 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001032/7.857, allocations: 0.9915 MB / 3.628 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001511/7.858, allocations: 1.653 MB / 3.63 GB, free: 150.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/7.858, allocations: 208.8 kB / 3.63 GB, free: 150 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/7.859, allocations: 15.89 kB / 3.63 GB, free: 150 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007072/7.859, allocations: 47.91 kB / 3.63 GB, free: 150 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/7.859, allocations: 39.81 kB / 3.63 GB, free: 149.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/7.859, allocations: 23.98 kB / 3.63 GB, free: 149.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005109/7.86, allocations: 439.1 kB / 3.63 GB, free: 149.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002281/7.862, allocations: 484.6 kB / 3.631 GB, free: 149 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.002038/7.864, allocations: 1.512 MB / 3.632 GB, free: 147.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007496/7.865, allocations: 443.3 kB / 3.633 GB, free: 147.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/7.865, allocations: 5.875 kB / 3.633 GB, free: 147.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/7.865, allocations: 177.6 kB / 3.633 GB, free: 147 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/7.867, allocations: 388.7 kB / 3.633 GB, free: 146.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/7.87, allocations: 1.361 MB / 3.635 GB, free: 145.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007835/7.87, allocations: 1.197 MB / 3.636 GB, free: 144 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/7.87, allocations: 0 / 3.636 GB, free: 144 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)