Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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/BuildingSystems 2.0.0-master/package.mo): time 0.7294/0.7294, allocations: 141.8 MB / 149.1 MB, free: 11.1 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 182 kB / 182 MB, free: 7.906 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 221.4 MB / 436 MB, free: 12 kB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009522/0.0009522, allocations: 95.31 kB / 0.507 GB, free: 9.113 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 277.5 kB / 0.5885 GB, free: 5.93 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3563/0.3581, allocations: 89.63 MB / 0.676 GB, free: 167.2 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.5055, allocations: 82.78 MB / 0.7568 GB, free: 115.5 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.487/3.993, allocations: 1.89 GB / 2.646 GB, free: 208.4 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/3.993, allocations: 91.94 kB / 2.646 GB, free: 208.3 MB / 0.7138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 3.862/7.856, allocations: 1.162 GB / 3.808 GB, free: 85.9 MB / 0.7139 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/7.856, allocations: 11.31 kB / 3.809 GB, free: 85.9 MB / 0.7139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/7.858, allocations: 455.5 kB / 3.809 GB, free: 85.83 MB / 0.7139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/7.861, allocations: 1.162 MB / 3.81 GB, free: 85.54 MB / 0.7139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009301/7.862, allocations: 263 kB / 3.81 GB, free: 85.53 MB / 0.7139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/7.863, allocations: 52 kB / 3.81 GB, free: 85.53 MB / 0.7139 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001336/7.864, allocations: 0.6252 MB / 3.811 GB, free: 85.53 MB / 0.7139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/7.865, allocations: 0.9797 MB / 3.812 GB, free: 85.21 MB / 0.7139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/7.865, allocations: 7.031 kB / 3.812 GB, free: 85.21 MB / 0.7139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.528e-05/7.866, allocations: 3.75 kB / 3.812 GB, free: 85.21 MB / 0.7139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/7.866, allocations: 31.94 kB / 3.812 GB, free: 85.21 MB / 0.7139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006233/7.872, allocations: 5.633 MB / 3.817 GB, free: 81.72 MB / 0.7139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/7.872, allocations: 246.7 kB / 3.818 GB, free: 81.57 MB / 0.7139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/7.872, allocations: 140.3 kB / 3.818 GB, free: 81.53 MB / 0.7139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/7.873, allocations: 101 kB / 3.818 GB, free: 81.43 MB / 0.7139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/7.873, allocations: 47.06 kB / 3.818 GB, free: 81.39 MB / 0.7139 GB Notification: Performance of pre-optimization done (n=20): time 2.224e-06/7.873, allocations: 0 / 3.818 GB, free: 81.39 MB / 0.7139 GB Notification: Performance of matching and sorting (n=20): time 0.0007688/7.873, allocations: 313.5 kB / 3.818 GB, free: 81.31 MB / 0.7139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/7.873, allocations: 185.5 kB / 3.818 GB, free: 81.09 MB / 0.7139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008558/7.874, allocations: 0.7473 MB / 3.819 GB, free: 80.95 MB / 0.7139 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/7.874, allocations: 25.7 kB / 3.819 GB, free: 80.91 MB / 0.7139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/7.874, allocations: 496 kB / 3.82 GB, free: 80.61 MB / 0.7139 GB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/7.875, allocations: 68.02 kB / 3.82 GB, free: 80.57 MB / 0.7139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/7.875, allocations: 0 / 3.82 GB, free: 80.57 MB / 0.7139 GB Notification: Performance of setup shared object (initialization): time 6.947e-05/7.875, allocations: 338.4 kB / 3.82 GB, free: 80.26 MB / 0.7139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/7.875, allocations: 144.3 kB / 3.82 GB, free: 80.26 MB / 0.7139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/7.875, allocations: 446.4 kB / 3.821 GB, free: 79.88 MB / 0.7139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/7.876, allocations: 236.4 kB / 3.821 GB, free: 79.88 MB / 0.7139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/7.876, allocations: 2.75 kB / 3.821 GB, free: 79.88 MB / 0.7139 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009791/7.877, allocations: 0.6083 MB / 3.821 GB, free: 79.8 MB / 0.7139 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/7.877, allocations: 10.59 kB / 3.821 GB, free: 79.8 MB / 0.7139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/7.877, allocations: 7.656 kB / 3.821 GB, free: 79.8 MB / 0.7139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/7.877, allocations: 17.5 kB / 3.822 GB, free: 79.8 MB / 0.7139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007753/7.877, allocations: 184.3 kB / 3.822 GB, free: 79.8 MB / 0.7139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/7.878, allocations: 19.48 kB / 3.822 GB, free: 79.8 MB / 0.7139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/7.879, allocations: 239.4 kB / 3.822 GB, free: 79.77 MB / 0.7139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/7.879, allocations: 41.86 kB / 3.822 GB, free: 79.77 MB / 0.7139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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.0001436/7.879, allocations: 122.7 kB / 3.822 GB, free: 79.65 MB / 0.7139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/7.879, allocations: 92.09 kB / 3.822 GB, free: 79.61 MB / 0.7139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005061/7.88, allocations: 264 kB / 3.822 GB, free: 79.55 MB / 0.7139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/7.88, allocations: 2.562 kB / 3.822 GB, free: 79.55 MB / 0.7139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/7.88, allocations: 7.906 kB / 3.822 GB, free: 79.55 MB / 0.7139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/7.88, allocations: 3.703 kB / 3.822 GB, free: 79.55 MB / 0.7139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/7.882, allocations: 1.844 MB / 3.824 GB, free: 78.63 MB / 0.7139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/7.882, allocations: 3.562 kB / 3.824 GB, free: 78.63 MB / 0.7139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/7.882, allocations: 36.53 kB / 3.824 GB, free: 78.63 MB / 0.7139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/7.882, allocations: 6.75 kB / 3.824 GB, free: 78.63 MB / 0.7139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/7.882, allocations: 6.625 kB / 3.824 GB, free: 78.63 MB / 0.7139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/7.882, allocations: 11.39 kB / 3.824 GB, free: 78.62 MB / 0.7139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/7.882, allocations: 7.094 kB / 3.824 GB, free: 78.62 MB / 0.7139 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004775/7.883, allocations: 0.6711 MB / 3.825 GB, free: 78.04 MB / 0.7139 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009908/7.884, allocations: 1.171 MB / 3.826 GB, free: 77.09 MB / 0.7139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/7.884, allocations: 207.6 kB / 3.826 GB, free: 76.95 MB / 0.7139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/7.884, allocations: 9.094 kB / 3.826 GB, free: 76.95 MB / 0.7139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006746/7.885, allocations: 83.3 kB / 3.826 GB, free: 76.94 MB / 0.7139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/7.885, allocations: 23.66 kB / 3.826 GB, free: 76.94 MB / 0.7139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/7.885, allocations: 18.22 kB / 3.826 GB, free: 76.94 MB / 0.7139 GB Notification: Performance of sort global known variables: time 0.0006375/7.886, allocations: 0.5603 MB / 3.827 GB, free: 76.83 MB / 0.7139 GB Notification: Performance of remove unused functions: time 0.002714/7.888, allocations: 0.7435 MB / 3.828 GB, free: 76.77 MB / 0.7139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.003076/7.892, allocations: 2.614 MB / 3.83 GB, free: 75.88 MB / 0.7139 GB Notification: Performance of simCode: created initialization part: time 0.0006626/7.892, allocations: 343.9 kB / 3.831 GB, free: 75.86 MB / 0.7139 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/7.892, allocations: 0 / 3.831 GB, free: 75.86 MB / 0.7139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/7.892, allocations: 102.5 kB / 3.831 GB, free: 75.85 MB / 0.7139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/7.894, allocations: 393.6 kB / 3.831 GB, free: 75.84 MB / 0.7139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/7.897, allocations: 1.253 MB / 3.832 GB, free: 75.31 MB / 0.7139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000724/7.897, allocations: 1.213 MB / 3.833 GB, free: 74.6 MB / 0.7139 GB Notification: Performance of SimCode: time 2.91e-07/7.897, allocations: 0 / 3.833 GB, free: 74.6 MB / 0.7139 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)