Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.1/package.mo): time 2.212/2.212, allocations: 248.6 MB / 255.9 MB, free: 7.156 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.001595/0.001595, allocations: 188.7 kB / 315.1 MB, free: 4.266 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.848/1.848, allocations: 205.1 MB / 0.5658 GB, free: 304 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001296/0.001296, allocations: 85.25 kB / 0.67 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4033/0.4047, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.6134, allocations: 106.3 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7076/1.321, allocations: 131.4 MB / 1.012 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/1.321, allocations: 69.77 kB / 1.012 GB, free: 8.664 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.006692/1.328, allocations: 1.478 MB / 1.013 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/1.328, allocations: 12 kB / 1.013 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/1.328, allocations: 7.906 kB / 1.013 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/1.328, allocations: 177.9 kB / 1.014 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/1.328, allocations: 0 / 1.014 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/1.328, allocations: 0 / 1.014 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001203/1.329, allocations: 18.69 kB / 1.014 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/1.329, allocations: 44.66 kB / 1.014 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/1.329, allocations: 0 / 1.014 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/1.329, allocations: 0 / 1.014 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/1.329, allocations: 8.672 kB / 1.014 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007365/1.33, allocations: 287.5 kB / 1.014 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.616e-05/1.33, allocations: 37.25 kB / 1.014 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.848e-05/1.33, allocations: 16.17 kB / 1.014 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/1.33, allocations: 0 / 1.014 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.978e-05/1.33, allocations: 34.56 kB / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/1.33, allocations: 0 / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000222/1.33, allocations: 45.23 kB / 1.014 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/1.33, allocations: 59.33 kB / 1.014 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/1.33, allocations: 100.2 kB / 1.014 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/1.33, allocations: 29.7 kB / 1.014 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/1.33, allocations: 83.7 kB / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/1.33, allocations: 11.83 kB / 1.014 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/1.33, allocations: 0 / 1.014 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001946/1.331, allocations: 321.8 kB / 1.015 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/1.331, allocations: 10.94 kB / 1.015 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-05/1.331, allocations: 7.938 kB / 1.015 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.848e-05/1.331, allocations: 4 kB / 1.015 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.331, allocations: 0 / 1.015 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001456/1.331, allocations: 55.72 kB / 1.015 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.331, allocations: 4 kB / 1.015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/1.331, allocations: 0 / 1.015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.331, allocations: 0 / 1.015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/1.331, allocations: 30.53 kB / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/1.331, allocations: 0 / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/1.331, allocations: 30.45 kB / 1.015 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/1.331, allocations: 0 / 1.015 GB, free: 5.863 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 8.435e-05/1.332, allocations: 101 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/1.332, allocations: 4 kB / 1.015 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.586e-05/1.332, allocations: 11.72 kB / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.332, allocations: 0 / 1.015 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/1.332, allocations: 3.938 kB / 1.015 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/1.332, allocations: 3.688 kB / 1.015 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/1.332, allocations: 149.7 kB / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-06/1.332, allocations: 0 / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/1.332, allocations: 19.98 kB / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/1.332, allocations: 3.938 kB / 1.015 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/1.332, allocations: 4 kB / 1.015 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/1.332, allocations: 7.906 kB / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.332, allocations: 0 / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00019/1.332, allocations: 145.3 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003164/1.333, allocations: 0.5179 MB / 1.016 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/1.333, allocations: 81.02 kB / 1.016 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/1.333, allocations: 4 kB / 1.016 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/1.333, allocations: 20.02 kB / 1.016 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/1.333, allocations: 7.984 kB / 1.016 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/1.333, allocations: 0 / 1.016 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.307e-05/1.333, allocations: 94.27 kB / 1.016 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001093/1.334, allocations: 7.906 kB / 1.016 GB, free: 4.621 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.0001653/1.335, allocations: 99.25 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00014/1.335, allocations: 25.44 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.335, allocations: 0 / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.97e-05/1.335, allocations: 15.38 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/1.335, allocations: 8.688 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/1.335, allocations: 82.5 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000379/1.336, allocations: 0.6915 MB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of SimCode: time 6.52e-07/1.336, allocations: 0 / 1.017 GB, free: 3.668 MB / 0.6355 GB