Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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.IntegratorWithReset,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",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.25/2.25, allocations: 248.6 MB / 255.9 MB, free: 364 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001659/0.001659, allocations: 183.6 kB / 315.1 MB, free: 7.77 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.1 MB / 0.5658 GB, free: 25.53 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.001915/0.001915, allocations: 97.39 kB / 0.67 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3143/0.3163, allocations: 112.4 MB / 0.7797 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5821/0.8985, allocations: 106.2 MB / 0.8835 GB, free: 77.26 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.245/1.144, allocations: 131.4 MB / 1.012 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.144, allocations: 71.95 kB / 1.012 GB, free: 9.641 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.01211/1.156, allocations: 2.866 MB / 1.015 GB, free: 6.734 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.156, allocations: 12 kB / 1.015 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.484e-05/1.156, allocations: 23.72 kB / 1.015 GB, free: 6.699 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/1.156, allocations: 209.6 kB / 1.015 GB, free: 6.453 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/1.157, allocations: 4 kB / 1.015 GB, free: 6.449 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/1.157, allocations: 11.91 kB / 1.015 GB, free: 6.438 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002533/1.157, allocations: 35.94 kB / 1.015 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/1.157, allocations: 121.9 kB / 1.015 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/1.157, allocations: 0 / 1.015 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/1.157, allocations: 4 kB / 1.015 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/1.157, allocations: 4 kB / 1.015 GB, free: 6.254 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/1.159, allocations: 0.6969 MB / 1.016 GB, free: 5.504 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/1.159, allocations: 42.52 kB / 1.016 GB, free: 5.453 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.083e-05/1.159, allocations: 20.84 kB / 1.016 GB, free: 5.43 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/1.159, allocations: 4 kB / 1.016 GB, free: 5.426 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/1.159, allocations: 94.83 kB / 1.016 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=11): time 3.496e-06/1.159, allocations: 0 / 1.016 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.0003635/1.16, allocations: 97.42 kB / 1.016 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.213e-05/1.16, allocations: 132.5 kB / 1.016 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/1.16, allocations: 147.4 kB / 1.016 GB, free: 4.898 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/1.16, allocations: 25.7 kB / 1.016 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 7.859e-05/1.16, allocations: 108 kB / 1.016 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/1.16, allocations: 39.53 kB / 1.016 GB, free: 4.719 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/1.16, allocations: 0 / 1.016 GB, free: 4.719 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002079/1.16, allocations: 326.8 kB / 1.017 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/1.16, allocations: 24.06 kB / 1.017 GB, free: 4.367 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/1.161, allocations: 107.2 kB / 1.017 GB, free: 4.223 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/1.161, allocations: 35.92 kB / 1.017 GB, free: 4.188 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.161, allocations: 4 kB / 1.017 GB, free: 4.184 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003657/1.161, allocations: 133.2 kB / 1.017 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/1.161, allocations: 8 kB / 1.017 GB, free: 4.039 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/1.161, allocations: 4 kB / 1.017 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/1.161, allocations: 4 kB / 1.017 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/1.162, allocations: 28.39 kB / 1.017 GB, free: 4.004 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/1.162, allocations: 15.86 kB / 1.017 GB, free: 3.988 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/1.162, allocations: 19.98 kB / 1.017 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/1.162, allocations: 8 kB / 1.017 GB, free: 3.961 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001319/1.162, allocations: 133.6 kB / 1.017 GB, free: 3.824 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/1.162, allocations: 15.81 kB / 1.017 GB, free: 3.809 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.224e-05/1.162, allocations: 17.39 kB / 1.017 GB, free: 3.789 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.162, allocations: 0 / 1.017 GB, free: 3.789 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.162, allocations: 4 kB / 1.017 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.162, allocations: 64 / 1.017 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/1.163, allocations: 462.2 kB / 1.018 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/1.163, allocations: 0 / 1.018 GB, free: 3.289 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/1.164, allocations: 19.98 kB / 1.018 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/1.164, allocations: 4 kB / 1.018 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/1.164, allocations: 4 kB / 1.018 GB, free: 3.262 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/1.164, allocations: 3.984 kB / 1.018 GB, free: 3.258 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.164, allocations: 11.84 kB / 1.018 GB, free: 3.246 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004452/1.164, allocations: 338.6 kB / 1.018 GB, free: 2.875 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006209/1.165, allocations: 0.7361 MB / 1.019 GB, free: 2.094 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/1.165, allocations: 88.92 kB / 1.019 GB, free: 1.988 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/1.165, allocations: 0 / 1.019 GB, free: 1.988 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/1.165, allocations: 27.97 kB / 1.019 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/1.165, allocations: 11.98 kB / 1.019 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/1.165, allocations: 7.906 kB / 1.019 GB, free: 1.941 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001259/1.165, allocations: 119.5 kB / 1.019 GB, free: 1.824 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00135/1.167, allocations: 27.94 kB / 1.019 GB, free: 1.797 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.000228/1.167, allocations: 107.2 kB / 1.019 GB, free: 1.684 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003236/1.167, allocations: 76.58 kB / 1.019 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.167, allocations: 0 / 1.019 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/1.168, allocations: 35.94 kB / 1.019 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00062/1.168, allocations: 46.94 kB / 1.019 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/1.169, allocations: 247.7 kB / 1.02 GB, free: 1.258 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007359/1.17, allocations: 0.7391 MB / 1.02 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of SimCode: time 1.202e-06/1.17, allocations: 4 kB / 1.02 GB, free: 500 kB / 0.6667 GB