Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.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.ChangeSign,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign",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.353/2.353, allocations: 248.6 MB / 255.9 MB, free: 1.117 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001704/0.001704, allocations: 184.5 kB / 315.1 MB, free: 9.523 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.913/1.913, allocations: 205.1 MB / 0.5658 GB, free: 13.98 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001224/0.001224, allocations: 97.02 kB / 0.6699 GB, free: 51.88 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2543/0.2555, allocations: 112.4 MB / 0.7797 GB, free: 10.54 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.5026, allocations: 106.2 MB / 0.8835 GB, free: 180 kB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7227/1.225, allocations: 130.3 MB / 1.011 GB, free: 180 kB / 0.6434 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/1.226, allocations: 69.31 kB / 1.011 GB, free: 112 kB / 0.6434 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003551/1.229, allocations: 0.6302 MB / 1.011 GB, free: 15.46 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/1.229, allocations: 12 kB / 1.011 GB, free: 15.45 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/1.229, allocations: 4.75 kB / 1.011 GB, free: 15.45 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/1.23, allocations: 164.6 kB / 1.012 GB, free: 15.25 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/1.23, allocations: 3.906 kB / 1.012 GB, free: 15.24 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/1.23, allocations: 4 kB / 1.012 GB, free: 15.24 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.934e-05/1.23, allocations: 9 kB / 1.012 GB, free: 15.23 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/1.23, allocations: 37.62 kB / 1.012 GB, free: 15.19 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.23, allocations: 1.25 kB / 1.012 GB, free: 15.19 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/1.23, allocations: 0 / 1.012 GB, free: 15.19 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.23, allocations: 0 / 1.012 GB, free: 15.19 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006411/1.231, allocations: 245.4 kB / 1.012 GB, free: 14.91 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 6.983e-05/1.231, allocations: 21.39 kB / 1.012 GB, free: 14.89 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.457e-05/1.231, allocations: 17.75 kB / 1.012 GB, free: 14.87 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/1.231, allocations: 0 / 1.012 GB, free: 14.87 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/1.231, allocations: 31.16 kB / 1.012 GB, free: 14.83 MB / 0.659 GB Notification: Performance of pre-optimization done (n=1): time 5.701e-06/1.231, allocations: 1.25 kB / 1.012 GB, free: 14.83 MB / 0.659 GB Notification: Performance of matching and sorting (n=1): time 0.0002174/1.231, allocations: 41.64 kB / 1.012 GB, free: 14.78 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.231, allocations: 52.34 kB / 1.012 GB, free: 14.72 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/1.231, allocations: 92.91 kB / 1.012 GB, free: 14.62 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/1.232, allocations: 26.23 kB / 1.012 GB, free: 14.59 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/1.232, allocations: 87.31 kB / 1.012 GB, free: 14.5 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/1.232, allocations: 4 kB / 1.012 GB, free: 14.5 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-06/1.232, allocations: 0 / 1.012 GB, free: 14.5 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.232, allocations: 311.7 kB / 1.013 GB, free: 14.19 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/1.232, allocations: 4 kB / 1.013 GB, free: 14.18 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.404e-05/1.232, allocations: 4 kB / 1.013 GB, free: 14.18 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/1.232, allocations: 4.719 kB / 1.013 GB, free: 14.18 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.497e-06/1.232, allocations: 3.906 kB / 1.013 GB, free: 14.17 MB / 0.659 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000147/1.232, allocations: 42.95 kB / 1.013 GB, free: 14.13 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/1.232, allocations: 4 kB / 1.013 GB, free: 14.12 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/1.232, allocations: 0 / 1.013 GB, free: 14.12 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/1.232, allocations: 0 / 1.013 GB, free: 14.12 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/1.233, allocations: 22.52 kB / 1.013 GB, free: 14.11 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/1.233, allocations: 0 / 1.013 GB, free: 14.11 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/1.233, allocations: 15.92 kB / 1.013 GB, free: 14.1 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/1.233, allocations: 0.7188 kB / 1.013 GB, free: 14.1 MB / 0.659 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 (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 0.0001162/1.233, allocations: 112 kB / 1.013 GB, free: 13.98 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/1.233, allocations: 4 kB / 1.013 GB, free: 13.98 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.766e-05/1.233, allocations: 6.031 kB / 1.013 GB, free: 13.98 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.233, allocations: 0 / 1.013 GB, free: 13.98 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.233, allocations: 0 / 1.013 GB, free: 13.98 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.233, allocations: 0 / 1.013 GB, free: 13.98 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/1.233, allocations: 139 kB / 1.013 GB, free: 13.81 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.233, allocations: 0 / 1.013 GB, free: 13.81 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/1.234, allocations: 16.84 kB / 1.013 GB, free: 13.79 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/1.234, allocations: 0 / 1.013 GB, free: 13.79 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/1.234, allocations: 0 / 1.013 GB, free: 13.79 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.234, allocations: 0 / 1.013 GB, free: 13.79 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/1.234, allocations: 6.344 kB / 1.013 GB, free: 13.79 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002032/1.234, allocations: 137.7 kB / 1.013 GB, free: 13.64 MB / 0.659 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003636/1.234, allocations: 0.5039 MB / 1.014 GB, free: 13.12 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/1.234, allocations: 81.02 kB / 1.014 GB, free: 13.02 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/1.234, allocations: 0 / 1.014 GB, free: 13.02 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/1.235, allocations: 8 kB / 1.014 GB, free: 13.01 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/1.235, allocations: 3.984 kB / 1.014 GB, free: 13.01 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/1.235, allocations: 4.031 kB / 1.014 GB, free: 13 MB / 0.659 GB Notification: Performance of sort global known variables: time 6.943e-05/1.235, allocations: 79.28 kB / 1.014 GB, free: 12.93 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.001879/1.237, allocations: 4 kB / 1.014 GB, free: 12.92 MB / 0.659 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 (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 0.0002116/1.237, allocations: 105.2 kB / 1.014 GB, free: 12.82 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 0.0001327/1.237, allocations: 7.938 kB / 1.014 GB, free: 12.81 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.237, allocations: 0 / 1.014 GB, free: 12.81 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 4.948e-05/1.237, allocations: 8 kB / 1.014 GB, free: 12.8 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/1.238, allocations: 14.06 kB / 1.014 GB, free: 12.79 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/1.238, allocations: 59.22 kB / 1.014 GB, free: 12.71 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/1.238, allocations: 0.688 MB / 1.015 GB, free: 12 MB / 0.659 GB Notification: Performance of SimCode: time 1.223e-06/1.238, allocations: 0 / 1.015 GB, free: 12 MB / 0.659 GB