Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",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.001278/0.001278, allocations: 191.5 kB / 7.804 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4641/0.4641, allocations: 90.85 MB / 99.07 MB, free: 14.9 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.419/1.419, allocations: 221.4 MB / 342.8 MB, free: 5.344 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.001212/0.001212, allocations: 102 kB / 415.5 MB, free: 9.84 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2056/0.2068, allocations: 78.45 MB / 494 MB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.6435, allocations: 72.3 MB / 0.553 GB, free: 44.72 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.7809, allocations: 107.6 MB / 0.6581 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003697/0.7813, allocations: 83.94 kB / 0.6582 GB, free: 0.8398 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.02059/0.802, allocations: 7.156 MB / 0.6652 GB, free: 9.637 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.802, allocations: 11.94 kB / 0.6652 GB, free: 9.625 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.8022, allocations: 51.34 kB / 0.6652 GB, free: 9.574 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000754/0.803, allocations: 383.3 kB / 0.6656 GB, free: 9.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.803, allocations: 8 kB / 0.6656 GB, free: 9.152 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.8031, allocations: 16 kB / 0.6656 GB, free: 9.137 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004533/0.8035, allocations: 189.3 kB / 0.6658 GB, free: 8.953 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/0.8041, allocations: 293.4 kB / 0.6661 GB, free: 8.633 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.8041, allocations: 0 / 0.6661 GB, free: 8.633 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.8041, allocations: 0 / 0.6661 GB, free: 8.633 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.8042, allocations: 8 kB / 0.6661 GB, free: 8.625 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.8062, allocations: 1.193 MB / 0.6673 GB, free: 7.367 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.8067, allocations: 150.3 kB / 0.6674 GB, free: 7.215 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.8069, allocations: 93.98 kB / 0.6675 GB, free: 7.121 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.077e-05/0.8069, allocations: 4.188 kB / 0.6675 GB, free: 7.117 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.807, allocations: 34.75 kB / 0.6675 GB, free: 7.074 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 2.725e-06/0.807, allocations: 224 / 0.6675 GB, free: 7.074 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005987/0.8076, allocations: 211.1 kB / 0.6677 GB, free: 6.867 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.8077, allocations: 162.1 kB / 0.6679 GB, free: 6.672 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.8082, allocations: 266 kB / 0.6681 GB, free: 6.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.8083, allocations: 29.7 kB / 0.6682 GB, free: 6.375 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.8085, allocations: 172.8 kB / 0.6683 GB, free: 6.199 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.094e-05/0.8086, allocations: 74.84 kB / 0.6684 GB, free: 6.125 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.8086, allocations: 4 kB / 0.6684 GB, free: 6.121 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.8088, allocations: 346.8 kB / 0.6687 GB, free: 5.773 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.809, allocations: 68 kB / 0.6688 GB, free: 5.707 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.8092, allocations: 131.7 kB / 0.6689 GB, free: 5.551 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.8094, allocations: 83.91 kB / 0.669 GB, free: 5.469 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.8094, allocations: 3.469 kB / 0.669 GB, free: 5.469 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005181/0.8099, allocations: 229.2 kB / 0.6692 GB, free: 5.238 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.81, allocations: 6.031 kB / 0.6692 GB, free: 5.234 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.81, allocations: 0 / 0.6692 GB, free: 5.234 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.81, allocations: 4 kB / 0.6692 GB, free: 5.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.8104, allocations: 67.94 kB / 0.6693 GB, free: 5.164 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.8104, allocations: 0 / 0.6693 GB, free: 5.164 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.8107, allocations: 39.83 kB / 0.6693 GB, free: 5.125 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.8108, allocations: 11.98 kB / 0.6694 GB, free: 5.113 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001578/0.8109, allocations: 108.9 kB / 0.6695 GB, free: 5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.811, allocations: 31.62 kB / 0.6695 GB, free: 4.969 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.8112, allocations: 43.06 kB / 0.6695 GB, free: 4.926 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.8112, allocations: 0 / 0.6695 GB, free: 4.926 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.8112, allocations: 8 kB / 0.6695 GB, free: 4.918 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.8112, allocations: 0 / 0.6695 GB, free: 4.918 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/0.8118, allocations: 365.8 kB / 0.6699 GB, free: 4.523 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.8118, allocations: 0 / 0.6699 GB, free: 4.523 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.8121, allocations: 43.92 kB / 0.6699 GB, free: 4.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/0.8122, allocations: 7.984 kB / 0.6699 GB, free: 4.473 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.8122, allocations: 0 / 0.6699 GB, free: 4.473 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.8122, allocations: 0 / 0.6699 GB, free: 4.473 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.8122, allocations: 4 kB / 0.6699 GB, free: 4.469 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007033/0.8129, allocations: 404.6 kB / 0.6703 GB, free: 4.059 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009869/0.8139, allocations: 0.8737 MB / 0.6712 GB, free: 3.168 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.8142, allocations: 128.7 kB / 0.6713 GB, free: 3.023 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.8142, allocations: 0 / 0.6713 GB, free: 3.023 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.8145, allocations: 39.94 kB / 0.6713 GB, free: 2.984 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.877e-05/0.8146, allocations: 19.97 kB / 0.6714 GB, free: 2.965 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.8146, allocations: 8 kB / 0.6714 GB, free: 2.957 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000271/0.8149, allocations: 208.6 kB / 0.6716 GB, free: 2.758 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001061/0.816, allocations: 67.69 kB / 0.6716 GB, free: 2.691 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0003352/0.8163, allocations: 107.2 kB / 0.6717 GB, free: 2.578 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000454/0.8168, allocations: 173.7 kB / 0.6719 GB, free: 2.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.8168, allocations: 0 / 0.6719 GB, free: 2.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.817, allocations: 96.55 kB / 0.672 GB, free: 2.316 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006354/0.8177, allocations: 63.33 kB / 0.6721 GB, free: 2.254 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.8191, allocations: 0.4976 MB / 0.6725 GB, free: 1.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/0.8197, allocations: 0.8297 MB / 0.6733 GB, free: 0.875 MB / 490.7 MB Notification: Performance of SimCode: time 1.051e-06/0.8197, allocations: 0 / 0.6733 GB, free: 0.875 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)