Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",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.00218/0.00218, allocations: 188.8 kB / 7.8 MB, free: 2.277 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5108/0.5108, 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.383/1.383, allocations: 221.4 MB / 342.8 MB, free: 5.215 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.0009989/0.0009989, allocations: 91.97 kB / 415.5 MB, free: 9.863 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1702/0.1712, allocations: 78.45 MB / 494 MB, free: 11.49 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.5121, allocations: 72.29 MB / 0.553 GB, free: 44.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.6302, allocations: 99.97 MB / 0.6506 GB, free: 8.672 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.6304, allocations: 67.97 kB / 0.6507 GB, free: 8.605 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006357/0.6311, allocations: 370.8 kB / 0.651 GB, free: 8.203 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.6311, allocations: 8 kB / 0.651 GB, free: 8.195 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.6312, allocations: 0.75 kB / 0.651 GB, free: 8.195 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.239e-05/0.6312, allocations: 167 kB / 0.6512 GB, free: 7.992 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.6313, allocations: 0.7188 kB / 0.6512 GB, free: 7.992 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-06/0.6313, allocations: 0 / 0.6512 GB, free: 7.992 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.213e-05/0.6313, allocations: 4.75 kB / 0.6512 GB, free: 7.988 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.046e-05/0.6314, allocations: 38.11 kB / 0.6512 GB, free: 7.949 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.6314, allocations: 0 / 0.6512 GB, free: 7.949 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.6314, allocations: 0 / 0.6512 GB, free: 7.949 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.6314, allocations: 0.5625 kB / 0.6512 GB, free: 7.949 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001095/0.6315, allocations: 131.2 kB / 0.6514 GB, free: 7.785 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.918e-05/0.6316, allocations: 19.36 kB / 0.6514 GB, free: 7.758 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.165e-05/0.6316, allocations: 9.734 kB / 0.6514 GB, free: 7.746 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.6316, allocations: 0.5938 kB / 0.6514 GB, free: 7.746 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.6317, allocations: 38.56 kB / 0.6514 GB, free: 7.699 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.6317, allocations: 0 / 0.6514 GB, free: 7.699 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001059/0.6318, allocations: 37.62 kB / 0.6515 GB, free: 7.656 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.6318, allocations: 53.28 kB / 0.6515 GB, free: 7.594 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.642e-05/0.6318, allocations: 85 kB / 0.6516 GB, free: 7.504 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.6319, allocations: 25.7 kB / 0.6516 GB, free: 7.473 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.6319, allocations: 80.14 kB / 0.6517 GB, free: 7.391 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.6319, allocations: 3.906 kB / 0.6517 GB, free: 7.387 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-06/0.6319, allocations: 4.031 kB / 0.6517 GB, free: 7.383 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.632, allocations: 310.8 kB / 0.652 GB, free: 7.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/0.6321, allocations: 8 kB / 0.652 GB, free: 7.062 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-06/0.6321, allocations: 0 / 0.652 GB, free: 7.062 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.245e-05/0.6321, allocations: 0 / 0.652 GB, free: 7.062 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.6321, allocations: 0 / 0.652 GB, free: 7.062 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.66e-05/0.6322, allocations: 29.7 kB / 0.652 GB, free: 7.027 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.6322, allocations: 11.98 kB / 0.652 GB, free: 7.016 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.6322, allocations: 96 / 0.652 GB, free: 7.016 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.6322, allocations: 4.562 kB / 0.652 GB, free: 7.012 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.07e-05/0.6323, allocations: 0 / 0.652 GB, free: 7.012 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.6323, allocations: 3.938 kB / 0.652 GB, free: 7.008 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.032e-05/0.6323, allocations: 2.391 kB / 0.6521 GB, free: 7.008 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.6323, allocations: 4.812 kB / 0.6521 GB, free: 7.004 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.709e-05/0.6324, allocations: 104.9 kB / 0.6522 GB, free: 6.895 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-06/0.6324, allocations: 1.406 kB / 0.6522 GB, free: 6.895 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.705e-05/0.6324, allocations: 3 kB / 0.6522 GB, free: 6.891 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.6324, allocations: 0 / 0.6522 GB, free: 6.891 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.6324, allocations: 4 kB / 0.6522 GB, free: 6.887 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.6324, allocations: 0 / 0.6522 GB, free: 6.887 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.97e-05/0.6325, allocations: 134.1 kB / 0.6523 GB, free: 6.719 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6325, allocations: 0.5 kB / 0.6523 GB, free: 6.719 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-06/0.6325, allocations: 0 / 0.6523 GB, free: 6.719 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6325, allocations: 0 / 0.6523 GB, free: 6.719 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.6325, allocations: 3.938 kB / 0.6523 GB, free: 6.715 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6325, allocations: 0.6875 kB / 0.6523 GB, free: 6.715 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6325, allocations: 4 kB / 0.6523 GB, free: 6.711 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.699e-05/0.6326, allocations: 61.05 kB / 0.6524 GB, free: 6.633 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001537/0.6328, allocations: 437.5 kB / 0.6528 GB, free: 6.184 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.104e-05/0.6328, allocations: 77.11 kB / 0.6529 GB, free: 6.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.6328, allocations: 5.781 kB / 0.6529 GB, free: 6.086 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-06/0.6328, allocations: 0 / 0.6529 GB, free: 6.086 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.6329, allocations: 11.95 kB / 0.6529 GB, free: 6.074 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-06/0.6329, allocations: 0 / 0.6529 GB, free: 6.074 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.529e-05/0.6329, allocations: 75.28 kB / 0.6529 GB, free: 6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007817/0.6337, allocations: 0 / 0.6529 GB, free: 6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 9.276e-05/0.6338, allocations: 95.25 kB / 0.653 GB, free: 5.895 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 4.66e-05/0.6338, allocations: 0 / 0.653 GB, free: 5.895 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.6339, allocations: 0 / 0.653 GB, free: 5.895 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.58e-06/0.6339, allocations: 4.062 kB / 0.653 GB, free: 5.891 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.519e-05/0.634, allocations: 8.562 kB / 0.653 GB, free: 5.883 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001743/0.6341, allocations: 47.94 kB / 0.6531 GB, free: 5.812 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.6344, allocations: 0.6841 MB / 0.6538 GB, free: 5.102 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6344, allocations: 0 / 0.6538 GB, free: 5.102 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)