Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.382/1.382, allocations: 289.8 MB / 297.1 MB, free: 6.637 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009443/0.0009443, allocations: 177.3 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.07/1.07, allocations: 205.1 MB / 0.6256 GB, free: 5.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008005/0.0008005, allocations: 91.59 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1915/0.1923, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.6503, allocations: 116.3 MB / 0.9727 GB, free: 68.63 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.7981, allocations: 141.3 MB / 1.111 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.7984, allocations: 95.86 kB / 1.111 GB, free: 7.141 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.02355/0.8219, allocations: 9.499 MB / 1.12 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.822, allocations: 8 kB / 1.12 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.8221, allocations: 31.62 kB / 1.12 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.8224, allocations: 278.5 kB / 1.12 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.8224, allocations: 4 kB / 1.12 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.8225, allocations: 8 kB / 1.12 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000807/0.8233, allocations: 0.7217 MB / 1.121 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.8235, allocations: 192.8 kB / 1.121 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.8236, allocations: 3.938 kB / 1.121 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.8236, allocations: 4 kB / 1.121 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.8236, allocations: 5.969 kB / 1.121 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007667/0.8244, allocations: 0.5245 MB / 1.122 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.8248, allocations: 276.1 kB / 1.122 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.8249, allocations: 97.47 kB / 1.122 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.825, allocations: 24.22 kB / 1.122 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.8252, allocations: 149.9 kB / 1.122 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=34): time 1.763e-06/0.8252, allocations: 0 / 1.122 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.000438/0.8256, allocations: 265.1 kB / 1.123 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.8257, allocations: 132.5 kB / 1.123 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.8259, allocations: 258.9 kB / 1.123 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.826, allocations: 29.7 kB / 1.123 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.826, allocations: 96.78 kB / 1.123 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.693e-05/0.8261, allocations: 110.4 kB / 1.123 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.8261, allocations: 0 / 1.123 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8262, allocations: 338.7 kB / 1.123 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.8264, allocations: 75.92 kB / 1.124 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.8265, allocations: 123.4 kB / 1.124 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.8267, allocations: 99.94 kB / 1.124 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8267, allocations: 0 / 1.124 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003743/0.8271, allocations: 257.6 kB / 1.124 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.8271, allocations: 8 kB / 1.124 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.8271, allocations: 1.594 kB / 1.124 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.8271, allocations: 0 / 1.124 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.8273, allocations: 63.91 kB / 1.124 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.8274, allocations: 0 / 1.124 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.8275, allocations: 31.73 kB / 1.124 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.8275, allocations: 11.98 kB / 1.124 GB, free: 9.25 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.178e-05/0.8276, allocations: 108.9 kB / 1.124 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.8277, allocations: 31.62 kB / 1.124 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006474/0.8283, allocations: 380.2 kB / 1.125 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.8283, allocations: 4 kB / 1.125 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.8284, allocations: 0 / 1.125 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.8284, allocations: 4 kB / 1.125 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.8286, allocations: 297.8 kB / 1.125 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8286, allocations: 3.938 kB / 1.125 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.8288, allocations: 59.91 kB / 1.125 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.8288, allocations: 0 / 1.125 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.8289, allocations: 11.98 kB / 1.125 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8289, allocations: 0.5625 kB / 1.125 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8289, allocations: 4 kB / 1.125 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003854/0.8293, allocations: 298.5 kB / 1.125 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004982/0.8298, allocations: 0.6664 MB / 1.126 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.8299, allocations: 164.5 kB / 1.126 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.83, allocations: 4 kB / 1.126 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.8301, allocations: 12.75 kB / 1.126 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.8302, allocations: 27.89 kB / 1.126 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.8302, allocations: 8 kB / 1.126 GB, free: 7.105 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001663/0.8304, allocations: 213.6 kB / 1.126 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008872/0.8313, allocations: 67.91 kB / 1.126 GB, free: 6.832 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005806/0.8319, allocations: 308.6 kB / 1.127 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003104/0.8322, allocations: 215.8 kB / 1.127 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.8322, allocations: 0 / 1.127 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.8323, allocations: 123.8 kB / 1.127 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.8325, allocations: 16.66 kB / 1.127 GB, free: 6.246 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006435/0.8332, allocations: 409.9 kB / 1.127 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/0.8336, allocations: 0.8128 MB / 1.128 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.8336, allocations: 0 / 1.128 GB, free: 4.992 MB / 0.7292 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)