Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",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.0.1-maint.8.0.x/package.mo): time 1.354/1.354, allocations: 285.5 MB / 292.8 MB, free: 9.84 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.0009249/0.0009249, allocations: 192.6 kB / 361.1 MB, free: 408 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.031/1.031, allocations: 205.2 MB / 0.6195 GB, free: 2.969 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007372/0.0007372, allocations: 91.27 kB / 0.7326 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3549/0.3557, allocations: 121.5 MB / 0.8512 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.5032, allocations: 115.3 MB / 0.9638 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4069/0.9101, allocations: 137 MB / 1.098 GB, free: 44.16 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001658/0.9103, allocations: 67.11 kB / 1.098 GB, free: 44.16 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.003562/0.9138, allocations: 1.738 MB / 1.099 GB, free: 43.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.9139, allocations: 9.797 kB / 1.099 GB, free: 43.71 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.9139, allocations: 15.69 kB / 1.099 GB, free: 43.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.9141, allocations: 200.6 kB / 1.1 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.9141, allocations: 3.75 kB / 1.1 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.9141, allocations: 7.625 kB / 1.1 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001521/0.9143, allocations: 100.9 kB / 1.1 GB, free: 43.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.9144, allocations: 116.4 kB / 1.1 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.9144, allocations: 0 / 1.1 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.9145, allocations: 4 kB / 1.1 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.9145, allocations: 3.75 kB / 1.1 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.9151, allocations: 490.3 kB / 1.1 GB, free: 43.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.431e-05/0.9152, allocations: 62.5 kB / 1.1 GB, free: 43.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.9153, allocations: 30.17 kB / 1.1 GB, free: 43.15 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.9153, allocations: 11.73 kB / 1.1 GB, free: 43.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.256e-05/0.9153, allocations: 33.19 kB / 1.1 GB, free: 43.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.9153, allocations: 0 / 1.1 GB, free: 43.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001725/0.9155, allocations: 93.42 kB / 1.1 GB, free: 43.06 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.26e-05/0.9155, allocations: 55.09 kB / 1.101 GB, free: 43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.062e-05/0.9156, allocations: 124 kB / 1.101 GB, free: 42.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.9156, allocations: 25.7 kB / 1.101 GB, free: 42.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.9156, allocations: 118.7 kB / 1.101 GB, free: 42.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.9156, allocations: 33.27 kB / 1.101 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-06/0.9157, allocations: 0 / 1.101 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.48e-05/0.9157, allocations: 327.2 kB / 1.101 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.9157, allocations: 26.22 kB / 1.101 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.9158, allocations: 26.56 kB / 1.101 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.862e-05/0.9158, allocations: 29.14 kB / 1.101 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.9159, allocations: 0 / 1.101 GB, free: 42.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001363/0.916, allocations: 110.4 kB / 1.101 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.146e-06/0.916, allocations: 11.09 kB / 1.101 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.916, allocations: 0 / 1.101 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.916, allocations: 7.875 kB / 1.101 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.9162, allocations: 28.64 kB / 1.101 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.9162, allocations: 3.875 kB / 1.101 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.024e-05/0.9163, allocations: 19.44 kB / 1.101 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.9163, allocations: 0 / 1.101 GB, free: 42.38 MB / 0.7136 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 (13): * Single equations (assignments): 13 * 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 4.295e-05/0.9164, allocations: 112.8 kB / 1.101 GB, free: 42.26 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.9164, allocations: 13.75 kB / 1.102 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.9166, allocations: 102.4 kB / 1.102 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.9166, allocations: 0 / 1.102 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.9166, allocations: 0 / 1.102 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.9166, allocations: 0 / 1.102 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.9169, allocations: 390.1 kB / 1.102 GB, free: 41.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.9169, allocations: 0 / 1.102 GB, free: 41.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.917, allocations: 32.61 kB / 1.102 GB, free: 41.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.917, allocations: 0 / 1.102 GB, free: 41.92 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.917, allocations: 5.562 kB / 1.102 GB, free: 41.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.917, allocations: 0 / 1.102 GB, free: 41.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.917, allocations: 3.531 kB / 1.102 GB, free: 41.92 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001292/0.9172, allocations: 245.6 kB / 1.102 GB, free: 41.7 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002514/0.9174, allocations: 0.6109 MB / 1.103 GB, free: 57.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.9174, allocations: 95.39 kB / 1.103 GB, free: 57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.9175, allocations: 0 / 1.103 GB, free: 57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.9176, allocations: 23.91 kB / 1.103 GB, free: 57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.9177, allocations: 7.594 kB / 1.103 GB, free: 57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.9177, allocations: 10.06 kB / 1.103 GB, free: 57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.219e-05/0.9177, allocations: 104.5 kB / 1.103 GB, free: 56.92 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000757/0.9185, allocations: 23.28 kB / 1.103 GB, free: 56.92 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.000103/0.9186, allocations: 110.2 kB / 1.103 GB, free: 56.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.9187, allocations: 71.39 kB / 1.103 GB, free: 56.81 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9187, allocations: 0 / 1.103 GB, free: 56.81 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.784e-05/0.9188, allocations: 30.75 kB / 1.103 GB, free: 56.81 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.919, allocations: 13.75 kB / 1.103 GB, free: 56.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.9193, allocations: 165.6 kB / 1.103 GB, free: 56.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.9195, allocations: 0.7348 MB / 1.104 GB, free: 55.98 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.9195, allocations: 0 / 1.104 GB, free: 55.98 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1)