Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",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.001069/0.00107, allocations: 186.4 kB / 7.807 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.4554/0.4554, 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.27/1.27, allocations: 221.4 MB / 342.8 MB, free: 5.109 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.001071/0.001071, allocations: 93.73 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1661/0.1672, allocations: 78.44 MB / 493.9 MB, free: 7.965 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.5709, allocations: 72.3 MB / 0.553 GB, free: 73.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.794/4.365, allocations: 1.841 GB / 2.394 GB, free: 225 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/4.366, allocations: 81.58 kB / 2.394 GB, free: 225 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 1.835/6.2, allocations: 0.6063 GB / 3 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/6.201, allocations: 8 kB / 3 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/6.202, allocations: 230.9 kB / 3 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/6.204, allocations: 0.8748 MB / 3.001 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/6.204, allocations: 16 kB / 3.001 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-05/6.204, allocations: 27.61 kB / 3.001 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005447/6.205, allocations: 337.4 kB / 3.001 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005962/6.205, allocations: 455.8 kB / 3.002 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/6.205, allocations: 0 / 3.002 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/6.205, allocations: 3.984 kB / 3.002 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/6.205, allocations: 20.7 kB / 3.002 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/6.208, allocations: 2.257 MB / 3.004 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/6.208, allocations: 242.1 kB / 3.004 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/6.208, allocations: 128.8 kB / 3.004 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009038/6.209, allocations: 0.8221 MB / 3.005 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/6.209, allocations: 195.5 kB / 3.005 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.084e-06/6.21, allocations: 3.938 kB / 3.005 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001028/6.211, allocations: 411.7 kB / 3.006 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/6.211, allocations: 110.9 kB / 3.006 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/6.211, allocations: 458.3 kB / 3.006 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/6.211, allocations: 25.7 kB / 3.006 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/6.211, allocations: 254.4 kB / 3.007 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/6.211, allocations: 90.75 kB / 3.007 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/6.211, allocations: 0 / 3.007 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.117e-05/6.211, allocations: 374.6 kB / 3.007 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/6.212, allocations: 108.8 kB / 3.007 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/6.212, allocations: 295.3 kB / 3.007 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/6.212, allocations: 219.7 kB / 3.008 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/6.212, allocations: 4 kB / 3.008 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008158/6.213, allocations: 491.7 kB / 3.008 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002803/6.213, allocations: 1.831 MB / 3.01 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/6.213, allocations: 11.89 kB / 3.01 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/6.213, allocations: 8 kB / 3.01 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/6.214, allocations: 83.91 kB / 3.01 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/6.214, allocations: 15.92 kB / 3.01 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/6.214, allocations: 43.67 kB / 3.01 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/6.214, allocations: 23.98 kB / 3.01 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.002e-06/6.214, allocations: 4 kB / 3.01 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006898/6.215, allocations: 403.7 kB / 3.011 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/6.215, allocations: 11.91 kB / 3.011 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.043e-06/6.215, allocations: 8 kB / 3.011 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/6.215, allocations: 87.83 kB / 3.011 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/6.215, allocations: 11.98 kB / 3.011 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/6.216, allocations: 35.8 kB / 3.011 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/6.216, allocations: 28 kB / 3.011 GB, free: 55.48 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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 9.898e-05/6.216, allocations: 123.2 kB / 3.011 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/6.216, allocations: 63.23 kB / 3.011 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007214/6.216, allocations: 383.4 kB / 3.011 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/6.217, allocations: 4 kB / 3.011 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/6.217, allocations: 4 kB / 3.011 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/6.217, allocations: 0 / 3.011 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/6.218, allocations: 1.172 MB / 3.012 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/6.218, allocations: 0 / 3.012 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/6.218, allocations: 52.19 kB / 3.012 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/6.218, allocations: 4 kB / 3.012 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/6.218, allocations: 4 kB / 3.012 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/6.218, allocations: 4 kB / 3.012 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/6.218, allocations: 11.94 kB / 3.012 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009165/6.219, allocations: 0.7752 MB / 3.013 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00135/6.221, allocations: 1.39 MB / 3.015 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/6.221, allocations: 168.2 kB / 3.015 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-05/6.221, allocations: 8 kB / 3.015 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/6.221, allocations: 8 kB / 3.015 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.412e-05/6.221, allocations: 31.88 kB / 3.015 GB, free: 51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/6.221, allocations: 8 kB / 3.015 GB, free: 51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003191/6.222, allocations: 350.9 kB / 3.015 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002713/6.224, allocations: 0.7258 MB / 3.016 GB, free: 49.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002338/6.227, allocations: 1.778 MB / 3.018 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007211/6.227, allocations: 495.2 kB / 3.018 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/6.228, allocations: 0 / 3.018 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/6.228, allocations: 128.5 kB / 3.018 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009602/6.229, allocations: 186.5 kB / 3.018 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/6.233, allocations: 1.66 MB / 3.02 GB, free: 45.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005237/6.233, allocations: 0.9765 MB / 3.021 GB, free: 44.91 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/6.233, allocations: 0 / 3.021 GB, free: 44.91 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)