Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 191.8 kB / 7.808 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4536/0.4536, allocations: 90.85 MB / 99.07 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.27/1.27, allocations: 221.4 MB / 342.8 MB, free: 5.203 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.0009709/0.000971, allocations: 91.19 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1632/0.1642, allocations: 78.44 MB / 493.9 MB, free: 7.988 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.5277, allocations: 72.3 MB / 0.553 GB, free: 73.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.715/4.243, allocations: 1.882 GB / 2.435 GB, free: 183.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/4.244, allocations: 90.28 kB / 2.435 GB, free: 183.1 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 1.807/6.051, allocations: 0.6153 GB / 3.051 GB, free: 22.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/6.051, allocations: 8 kB / 3.051 GB, free: 22.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009657/6.052, allocations: 198.8 kB / 3.051 GB, free: 22.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000822/6.052, allocations: 0.5445 MB / 3.051 GB, free: 22.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003269/6.053, allocations: 93.25 kB / 3.051 GB, free: 22.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/6.053, allocations: 40 kB / 3.051 GB, free: 22.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005928/6.053, allocations: 326.5 kB / 3.052 GB, free: 21.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007441/6.054, allocations: 0.6367 MB / 3.052 GB, free: 20.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/6.054, allocations: 7.844 kB / 3.052 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/6.054, allocations: 4 kB / 3.052 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/6.054, allocations: 20.78 kB / 3.052 GB, free: 20.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/6.057, allocations: 4.113 MB / 3.056 GB, free: 16.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.213e-05/6.057, allocations: 103.3 kB / 3.056 GB, free: 16.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.572e-05/6.058, allocations: 79.52 kB / 3.057 GB, free: 16.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/6.058, allocations: 93.09 kB / 3.057 GB, free: 16.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/6.058, allocations: 38.56 kB / 3.057 GB, free: 16.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/6.058, allocations: 4 kB / 3.057 GB, free: 16.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004739/6.058, allocations: 164.9 kB / 3.057 GB, free: 16.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/6.058, allocations: 128.5 kB / 3.057 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004396/6.059, allocations: 458.2 kB / 3.057 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/6.059, allocations: 28.22 kB / 3.057 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/6.059, allocations: 354.7 kB / 3.058 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/6.059, allocations: 35.61 kB / 3.058 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/6.059, allocations: 4 kB / 3.058 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/6.059, allocations: 358.8 kB / 3.058 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/6.059, allocations: 71.98 kB / 3.058 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/6.059, allocations: 319.4 kB / 3.059 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/6.06, allocations: 139.8 kB / 3.059 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/6.06, allocations: 4 kB / 3.059 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005019/6.06, allocations: 377.2 kB / 3.059 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/6.06, allocations: 8 kB / 3.059 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/6.06, allocations: 8.062 kB / 3.059 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/6.06, allocations: 12 kB / 3.059 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/6.06, allocations: 95.83 kB / 3.059 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/6.06, allocations: 8 kB / 3.059 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005729/6.061, allocations: 107.4 kB / 3.059 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/6.061, allocations: 24 kB / 3.059 GB, free: 13.39 MB / 0.6042 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 8.207e-05/6.061, allocations: 120.8 kB / 3.059 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/6.061, allocations: 51.34 kB / 3.059 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.476e-05/6.061, allocations: 52.03 kB / 3.059 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/6.061, allocations: 0 / 3.059 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/6.061, allocations: 4 kB / 3.06 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/6.061, allocations: 0 / 3.06 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009721/6.062, allocations: 1.046 MB / 3.061 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/6.062, allocations: 4 kB / 3.061 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.234e-05/6.063, allocations: 19.94 kB / 3.061 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/6.063, allocations: 4 kB / 3.061 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/6.063, allocations: 7.984 kB / 3.061 GB, free: 12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/6.063, allocations: 4 kB / 3.061 GB, free: 12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/6.063, allocations: 3.906 kB / 3.061 GB, free: 12 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002176/6.063, allocations: 331.5 kB / 3.061 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005888/6.063, allocations: 0.8184 MB / 3.062 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/6.064, allocations: 140.5 kB / 3.062 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-05/6.064, allocations: 8.047 kB / 3.062 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/6.064, allocations: 31.89 kB / 3.062 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/6.064, allocations: 4.188 kB / 3.062 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/6.064, allocations: 4 kB / 3.062 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003147/6.064, allocations: 347.1 kB / 3.062 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001831/6.066, allocations: 0.4993 MB / 3.063 GB, free: 9.609 MB / 0.6042 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.002274/6.068, allocations: 1.952 MB / 3.065 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003338/6.069, allocations: 185.1 kB / 3.065 GB, free: 7.387 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/6.069, allocations: 3.938 kB / 3.065 GB, free: 7.383 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.288e-05/6.069, allocations: 52.73 kB / 3.065 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000949/6.07, allocations: 177 kB / 3.065 GB, free: 7.164 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/6.071, allocations: 0.7015 MB / 3.066 GB, free: 6.398 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/6.071, allocations: 0.9977 MB / 3.067 GB, free: 5.375 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/6.072, allocations: 0 / 3.067 GB, free: 5.375 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)