Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.Examples.MixingVolumeMoistAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.001346/0.001346, allocations: 191 kB / 7.804 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4609/0.4609, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.315/1.315, allocations: 221.4 MB / 342.7 MB, free: 5.223 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.0009682/0.0009682, allocations: 91.2 kB / 415.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1853/0.1863, allocations: 78.45 MB / 493.9 MB, free: 8.012 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.5923, allocations: 72.3 MB / 0.553 GB, free: 73.35 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.014/4.607, allocations: 1.923 GB / 2.476 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/4.607, allocations: 83.95 kB / 2.476 GB, free: 136.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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 2.236/6.843, allocations: 0.6316 GB / 3.108 GB, free: 88.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/6.843, allocations: 7.5 kB / 3.108 GB, free: 88.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003159/6.846, allocations: 397.4 kB / 3.108 GB, free: 88.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003865/6.85, allocations: 1.231 MB / 3.11 GB, free: 87.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/6.85, allocations: 30.38 kB / 3.11 GB, free: 87.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000289/6.85, allocations: 70.88 kB / 3.11 GB, free: 87.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001852/6.852, allocations: 0.7107 MB / 3.11 GB, free: 87.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/6.854, allocations: 0.9483 MB / 3.111 GB, free: 87.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/6.854, allocations: 3.625 kB / 3.111 GB, free: 87.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/6.854, allocations: 0 / 3.111 GB, free: 87.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.925e-05/6.854, allocations: 38.41 kB / 3.111 GB, free: 87.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006986/6.861, allocations: 5.133 MB / 3.116 GB, free: 84.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/6.862, allocations: 0.6322 MB / 3.117 GB, free: 84.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004414/6.863, allocations: 321.4 kB / 3.117 GB, free: 84.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005526/6.863, allocations: 313.1 kB / 3.118 GB, free: 84.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/6.863, allocations: 45.31 kB / 3.118 GB, free: 84.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=70): time 2.885e-06/6.863, allocations: 0 / 3.118 GB, free: 84.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.001999/6.865, allocations: 0.7527 MB / 3.118 GB, free: 84.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/6.866, allocations: 161.9 kB / 3.118 GB, free: 84.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000964/6.867, allocations: 0.5941 MB / 3.119 GB, free: 83.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.935e-05/6.867, allocations: 29.45 kB / 3.119 GB, free: 83.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/6.867, allocations: 414 kB / 3.119 GB, free: 83.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/6.867, allocations: 234.6 kB / 3.12 GB, free: 83.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/6.867, allocations: 1.625 kB / 3.12 GB, free: 83.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.569e-05/6.867, allocations: 339.1 kB / 3.12 GB, free: 83.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/6.868, allocations: 234.7 kB / 3.12 GB, free: 83.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/6.868, allocations: 465.7 kB / 3.121 GB, free: 83.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000948/6.869, allocations: 365.4 kB / 3.121 GB, free: 83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/6.869, allocations: 0 / 3.121 GB, free: 83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001596/6.871, allocations: 0.8138 MB / 3.122 GB, free: 82.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000452/6.871, allocations: 1.664 MB / 3.123 GB, free: 81.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/6.871, allocations: 3.312 kB / 3.123 GB, free: 81.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.44e-05/6.871, allocations: 10.25 kB / 3.123 GB, free: 81.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/6.873, allocations: 264.7 kB / 3.124 GB, free: 81.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/6.874, allocations: 1.351 MB / 3.125 GB, free: 79.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/6.875, allocations: 107.2 kB / 3.125 GB, free: 79.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/6.876, allocations: 33.83 kB / 3.125 GB, free: 79.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/6.876, allocations: 3.312 kB / 3.125 GB, free: 79.89 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001322/6.877, allocations: 0.6831 MB / 3.126 GB, free: 79.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/6.877, allocations: 5.719 kB / 3.126 GB, free: 79.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/6.877, allocations: 10.38 kB / 3.126 GB, free: 79.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/6.879, allocations: 265.9 kB / 3.126 GB, free: 79.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/6.88, allocations: 1.356 MB / 3.127 GB, free: 78.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/6.881, allocations: 106.5 kB / 3.128 GB, free: 78.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.766e-05/6.881, allocations: 28.34 kB / 3.128 GB, free: 78.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002415/6.881, allocations: 127.8 kB / 3.128 GB, free: 78.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/6.881, allocations: 103.3 kB / 3.128 GB, free: 78.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/6.883, allocations: 0.8021 MB / 3.129 GB, free: 78.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/6.883, allocations: 15.56 kB / 3.129 GB, free: 78.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/6.883, allocations: 2.531 kB / 3.129 GB, free: 78.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001367/6.885, allocations: 0.7361 MB / 3.129 GB, free: 78.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003938/6.889, allocations: 1.883 MB / 3.131 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/6.889, allocations: 3.562 kB / 3.131 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/6.89, allocations: 155.6 kB / 3.131 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/6.89, allocations: 45.38 kB / 3.131 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/6.89, allocations: 7.609 kB / 3.131 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/6.891, allocations: 1.33 MB / 3.133 GB, free: 76.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/6.891, allocations: 0 / 3.133 GB, free: 76.57 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002245/6.894, allocations: 1.338 MB / 3.134 GB, free: 76.18 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002995/6.897, allocations: 2.205 MB / 3.136 GB, free: 75.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005725/6.897, allocations: 248.7 kB / 3.136 GB, free: 75.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/6.897, allocations: 7.203 kB / 3.136 GB, free: 75.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009042/6.898, allocations: 66.78 kB / 3.136 GB, free: 75.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/6.898, allocations: 41.47 kB / 3.136 GB, free: 75.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/6.898, allocations: 27.84 kB / 3.136 GB, free: 75.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006533/6.899, allocations: 469.6 kB / 3.137 GB, free: 75.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004404/6.904, allocations: 1.097 MB / 3.138 GB, free: 75.07 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002705/6.906, allocations: 1.988 MB / 3.14 GB, free: 74.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003365/6.91, allocations: 1.188 MB / 3.141 GB, free: 74.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/6.91, allocations: 0 / 3.141 GB, free: 74.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000651/6.91, allocations: 422.9 kB / 3.142 GB, free: 74.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/6.912, allocations: 415.3 kB / 3.142 GB, free: 74.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/6.916, allocations: 1.702 MB / 3.144 GB, free: 73.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/6.918, allocations: 1.269 MB / 3.145 GB, free: 73.23 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/6.918, allocations: 3.312 kB / 3.145 GB, free: 73.23 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)