Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.457/2.457, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001628/0.001628, allocations: 185.2 kB / 360.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001276/0.001275, allocations: 93.92 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3004/0.3017, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7045/1.006, allocations: 115.2 MB / 0.9627 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.302/6.308, allocations: 2.073 GB / 3.036 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/6.309, allocations: 85.97 kB / 3.036 GB, free: 272.2 MB / 0.9323 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.462/8.771, allocations: 0.5652 GB / 3.601 GB, free: 134.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/8.771, allocations: 8 kB / 3.602 GB, free: 134.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00536/8.776, allocations: 354.2 kB / 3.602 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004082/8.78, allocations: 0.7864 MB / 3.603 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001061/8.782, allocations: 105.9 kB / 3.603 GB, free: 133.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004906/8.782, allocations: 52 kB / 3.603 GB, free: 133.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002985/8.785, allocations: 0.7106 MB / 3.603 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/8.788, allocations: 0.8747 MB / 3.604 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.116e-05/8.788, allocations: 7.844 kB / 3.604 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/8.788, allocations: 8 kB / 3.604 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.403e-05/8.788, allocations: 30 kB / 3.604 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009476/8.798, allocations: 3.904 MB / 3.608 GB, free: 127.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/8.799, allocations: 367.1 kB / 3.609 GB, free: 127 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/8.799, allocations: 200.8 kB / 3.609 GB, free: 126.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/8.799, allocations: 100.8 kB / 3.609 GB, free: 126.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/8.799, allocations: 38.56 kB / 3.609 GB, free: 126.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.685e-06/8.799, allocations: 0 / 3.609 GB, free: 126.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=38): time 0.003824/8.803, allocations: 1.125 MB / 3.61 GB, free: 125.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/8.803, allocations: 55.41 kB / 3.61 GB, free: 125.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/8.805, allocations: 0.5583 MB / 3.611 GB, free: 124.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/8.805, allocations: 25.7 kB / 3.611 GB, free: 124.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/8.805, allocations: 413.2 kB / 3.611 GB, free: 124.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/8.805, allocations: 134.1 kB / 3.611 GB, free: 124.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/8.805, allocations: 0 / 3.611 GB, free: 124.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001339/8.805, allocations: 382.7 kB / 3.611 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005056/8.806, allocations: 193.2 kB / 3.612 GB, free: 123.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005957/8.806, allocations: 374.6 kB / 3.612 GB, free: 123.2 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.00333/8.81, allocations: 0.7089 MB / 3.613 GB, free: 122.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/8.81, allocations: 0 / 3.613 GB, free: 122.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001744/8.812, allocations: 0.6287 MB / 3.613 GB, free: 121.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/8.812, allocations: 5.406 kB / 3.613 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/8.812, allocations: 8 kB / 3.613 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.797e-05/8.812, allocations: 15.98 kB / 3.613 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/8.813, allocations: 143.8 kB / 3.613 GB, free: 121.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/8.813, allocations: 11.98 kB / 3.613 GB, free: 121.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/8.815, allocations: 87.78 kB / 3.614 GB, free: 121.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.825e-05/8.815, allocations: 24 kB / 3.614 GB, free: 121.6 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.000216/8.815, allocations: 120.7 kB / 3.614 GB, free: 121.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/8.815, allocations: 75.16 kB / 3.614 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/8.816, allocations: 82.77 kB / 3.614 GB, free: 121.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/8.816, allocations: 4.062 kB / 3.614 GB, free: 121.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/8.816, allocations: 8 kB / 3.614 GB, free: 121.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009004/8.817, allocations: 0.6518 MB / 3.614 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004494/8.821, allocations: 1.448 MB / 3.616 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/8.821, allocations: 7.984 kB / 3.616 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007965/8.822, allocations: 87.83 kB / 3.616 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/8.822, allocations: 4 kB / 3.616 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/8.822, allocations: 12 kB / 3.616 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/8.822, allocations: 7.984 kB / 3.616 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/8.822, allocations: 4.078 kB / 3.616 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001817/8.824, allocations: 1.004 MB / 3.617 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002355/8.826, allocations: 1.646 MB / 3.619 GB, free: 115.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006127/8.827, allocations: 212.1 kB / 3.619 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/8.827, allocations: 12 kB / 3.619 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/8.829, allocations: 51.89 kB / 3.619 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/8.829, allocations: 27.88 kB / 3.619 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.797e-05/8.829, allocations: 27.98 kB / 3.619 GB, free: 115.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008018/8.83, allocations: 439.1 kB / 3.619 GB, free: 115.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002898/8.832, allocations: 491.9 kB / 3.62 GB, free: 114.7 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.002856/8.835, allocations: 1.516 MB / 3.621 GB, free: 113.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001277/8.837, allocations: 440.2 kB / 3.622 GB, free: 112.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/8.837, allocations: 320 / 3.622 GB, free: 112.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003695/8.837, allocations: 178.4 kB / 3.622 GB, free: 112.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003544/8.841, allocations: 389.2 kB / 3.622 GB, free: 112.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/8.845, allocations: 1.366 MB / 3.624 GB, free: 110.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/8.846, allocations: 1.193 MB / 3.625 GB, free: 109.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.292e-06/8.846, allocations: 0 / 3.625 GB, free: 109.6 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)