Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 188.3 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4821/0.4821, allocations: 90.85 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 221.4 MB / 342.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009518/0.0009518, allocations: 94.98 kB / 415.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1739/0.1749, allocations: 78.45 MB / 494 MB, free: 7.953 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.534, allocations: 72.3 MB / 0.553 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.818/4.352, allocations: 1.883 GB / 2.436 GB, free: 182.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/4.352, allocations: 92.84 kB / 2.436 GB, free: 182 MB / 0.6042 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.885/8.237, allocations: 1.161 GB / 3.596 GB, free: 82.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/8.237, allocations: 9.031 kB / 3.596 GB, free: 82.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/8.239, allocations: 456.5 kB / 3.597 GB, free: 82.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/8.242, allocations: 1.172 MB / 3.598 GB, free: 82.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009279/8.243, allocations: 263.1 kB / 3.598 GB, free: 82.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/8.243, allocations: 54.14 kB / 3.598 GB, free: 82.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001145/8.244, allocations: 0.6234 MB / 3.599 GB, free: 82.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/8.245, allocations: 0.98 MB / 3.6 GB, free: 82.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/8.245, allocations: 5.875 kB / 3.6 GB, free: 82.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.251e-05/8.245, allocations: 3.719 kB / 3.6 GB, free: 82.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.313e-05/8.245, allocations: 30.91 kB / 3.6 GB, free: 82.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006124/8.252, allocations: 5.728 MB / 3.605 GB, free: 78.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/8.252, allocations: 243.2 kB / 3.606 GB, free: 78.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/8.252, allocations: 133 kB / 3.606 GB, free: 78.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/8.252, allocations: 99.38 kB / 3.606 GB, free: 78.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/8.252, allocations: 44.47 kB / 3.606 GB, free: 78.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.645e-06/8.252, allocations: 0 / 3.606 GB, free: 78.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0008186/8.253, allocations: 317.3 kB / 3.606 GB, free: 78.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/8.253, allocations: 186.9 kB / 3.606 GB, free: 77.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009168/8.254, allocations: 0.7493 MB / 3.607 GB, free: 77.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/8.254, allocations: 25.7 kB / 3.607 GB, free: 77.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/8.254, allocations: 0.4904 MB / 3.608 GB, free: 77.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/8.254, allocations: 72.78 kB / 3.608 GB, free: 77.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/8.255, allocations: 0 / 3.608 GB, free: 77.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.225e-05/8.255, allocations: 323.3 kB / 3.608 GB, free: 77.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/8.255, allocations: 146.2 kB / 3.608 GB, free: 77.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/8.255, allocations: 455.3 kB / 3.608 GB, free: 76.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/8.256, allocations: 239.7 kB / 3.609 GB, free: 76.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/8.256, allocations: 2.438 kB / 3.609 GB, free: 76.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009755/8.257, allocations: 0.6095 MB / 3.609 GB, free: 76.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/8.257, allocations: 7.688 kB / 3.609 GB, free: 76.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/8.257, allocations: 7.281 kB / 3.609 GB, free: 76.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/8.257, allocations: 14.06 kB / 3.609 GB, free: 76.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/8.257, allocations: 186 kB / 3.61 GB, free: 76.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/8.257, allocations: 21.78 kB / 3.61 GB, free: 76.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/8.259, allocations: 243.8 kB / 3.61 GB, free: 76.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-05/8.259, allocations: 39.41 kB / 3.61 GB, free: 76.71 MB / 0.6198 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.0001164/8.259, allocations: 136.7 kB / 3.61 GB, free: 76.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/8.259, allocations: 90.25 kB / 3.61 GB, free: 76.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/8.26, allocations: 261.6 kB / 3.61 GB, free: 76.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/8.26, allocations: 3.5 kB / 3.61 GB, free: 76.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/8.26, allocations: 3.906 kB / 3.61 GB, free: 76.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/8.26, allocations: 6.703 kB / 3.61 GB, free: 76.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/8.262, allocations: 1.838 MB / 3.612 GB, free: 75.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/8.262, allocations: 9.875 kB / 3.612 GB, free: 75.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/8.262, allocations: 38.08 kB / 3.612 GB, free: 75.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/8.262, allocations: 6.812 kB / 3.612 GB, free: 75.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/8.262, allocations: 4.969 kB / 3.612 GB, free: 75.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/8.262, allocations: 12.66 kB / 3.612 GB, free: 75.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/8.262, allocations: 5.562 kB / 3.612 GB, free: 75.61 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000576/8.263, allocations: 0.6636 MB / 3.613 GB, free: 75.04 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001009/8.264, allocations: 1.174 MB / 3.614 GB, free: 74.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/8.264, allocations: 211.6 kB / 3.614 GB, free: 73.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/8.264, allocations: 17.06 kB / 3.614 GB, free: 73.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006452/8.265, allocations: 80.22 kB / 3.614 GB, free: 73.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/8.265, allocations: 27.45 kB / 3.614 GB, free: 73.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/8.265, allocations: 11.31 kB / 3.614 GB, free: 73.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0006158/8.266, allocations: 0.5746 MB / 3.615 GB, free: 73.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002456/8.268, allocations: 0.7301 MB / 3.616 GB, free: 73.78 MB / 0.6198 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.003251/8.271, allocations: 2.615 MB / 3.618 GB, free: 72.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006337/8.272, allocations: 328.7 kB / 3.618 GB, free: 72.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/8.272, allocations: 6.531 kB / 3.618 GB, free: 72.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/8.272, allocations: 101.1 kB / 3.619 GB, free: 72.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/8.274, allocations: 396.3 kB / 3.619 GB, free: 72.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/8.276, allocations: 1.26 MB / 3.62 GB, free: 72.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007828/8.277, allocations: 1.216 MB / 3.621 GB, free: 71.69 MB / 0.6198 GB Notification: Performance of SimCode: time 8.22e-07/8.277, allocations: 2.844 kB / 3.621 GB, free: 71.69 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)