Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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 7.0.3-maint.7.0.x/package.mo): time 1.228/1.228, allocations: 249.4 MB / 256.7 MB, free: 7.012 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 185.2 kB / 316 MB, free: 3.527 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.136/1.136, allocations: 205.1 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007736/0.0007736, allocations: 87.48 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3306/0.3314, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.4916, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4391/0.9308, allocations: 131.6 MB / 1.013 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.931, allocations: 70.52 kB / 1.013 GB, free: 6.895 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.002527/0.9336, allocations: 0.9103 MB / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.9336, allocations: 8 kB / 1.014 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.9336, allocations: 7.844 kB / 1.014 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.9338, allocations: 163.1 kB / 1.014 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.9338, allocations: 3.938 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.9338, allocations: 4 kB / 1.014 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.888e-05/0.9339, allocations: 18.92 kB / 1.014 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.744e-05/0.934, allocations: 40.73 kB / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.934, allocations: 0 / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.934, allocations: 8 kB / 1.014 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.934, allocations: 3.984 kB / 1.014 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.9345, allocations: 290.6 kB / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.602e-05/0.9346, allocations: 29.27 kB / 1.015 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.9346, allocations: 12.05 kB / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.9347, allocations: 4 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.9347, allocations: 37.75 kB / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.9347, allocations: 0 / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001535/0.9349, allocations: 52.06 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.9349, allocations: 51.41 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.216e-05/0.935, allocations: 100.3 kB / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.935, allocations: 25.7 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/0.935, allocations: 86.86 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.9351, allocations: 15.28 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.9351, allocations: 0 / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.9352, allocations: 310.8 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.9352, allocations: 7.688 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.9352, allocations: 11.12 kB / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.454e-05/0.9352, allocations: 11.86 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9353, allocations: 3.906 kB / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.778e-05/0.9353, allocations: 44.16 kB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.9354, allocations: 4 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.9354, allocations: 8.703 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.9354, allocations: 7.969 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.9355, allocations: 23.97 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.9356, allocations: 0 / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.762e-05/0.9357, allocations: 23.89 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.9357, allocations: 4 kB / 1.016 GB, free: 4.543 MB / 0.6355 GB 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 (3): * Single equations (assignments): 3 * 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.49e-05/0.9357, allocations: 104.9 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.9358, allocations: 3.906 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.9359, allocations: 63.3 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.9359, allocations: 4 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.9359, allocations: 0 / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.9359, allocations: 0 / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.9361, allocations: 148.5 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.9361, allocations: 0 / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.9362, allocations: 23.98 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.9363, allocations: 7.875 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.9363, allocations: 7.891 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.9363, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9363, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001258/0.9364, allocations: 150.6 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002455/0.9367, allocations: 0.5174 MB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.9367, allocations: 81.11 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.9368, allocations: 0 / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.9369, allocations: 15.98 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.9369, allocations: 11.67 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.937, allocations: 4 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.083e-05/0.937, allocations: 87.48 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007799/0.9378, allocations: 11.94 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB 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 (3): * Single equations (assignments): 3 * 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.0001258/0.9379, allocations: 99.06 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.354e-05/0.938, allocations: 30.11 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.938, allocations: 0 / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.955e-05/0.938, allocations: 14.81 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.9382, allocations: 0 / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.9385, allocations: 81.19 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.9387, allocations: 0.6954 MB / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.9387, allocations: 3.938 kB / 1.018 GB, free: 2.289 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)