Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",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.316/2.316, allocations: 248.6 MB / 255.9 MB, free: 7.234 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.001712/0.001712, allocations: 185.2 kB / 315.1 MB, free: 4.281 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.039/2.039, allocations: 205.1 MB / 0.5658 GB, free: 264 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.001344/0.001343, allocations: 100.9 kB / 0.67 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5361/0.5375, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.7663, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7197/1.486, allocations: 131.7 MB / 1.012 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/1.486, allocations: 67.91 kB / 1.012 GB, free: 8.453 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.007068/1.494, allocations: 1.403 MB / 1.014 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.494, allocations: 12 kB / 1.014 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.13e-05/1.494, allocations: 3.906 kB / 1.014 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/1.494, allocations: 178.7 kB / 1.014 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/1.494, allocations: 4 kB / 1.014 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/1.494, allocations: 4 kB / 1.014 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001521/1.494, allocations: 26.38 kB / 1.014 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/1.494, allocations: 71.47 kB / 1.014 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/1.494, allocations: 4 kB / 1.014 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/1.494, allocations: 0 / 1.014 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.494, allocations: 0 / 1.014 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/1.495, allocations: 267.3 kB / 1.014 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/1.495, allocations: 52.14 kB / 1.014 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.517e-05/1.495, allocations: 27.3 kB / 1.014 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/1.495, allocations: 0 / 1.014 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/1.496, allocations: 89.06 kB / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 4.489e-06/1.496, allocations: 3.984 kB / 1.014 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003541/1.496, allocations: 94.64 kB / 1.014 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/1.496, allocations: 58.22 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/1.496, allocations: 107.3 kB / 1.015 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/1.496, allocations: 29.7 kB / 1.015 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/1.496, allocations: 80.14 kB / 1.015 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/1.496, allocations: 23.31 kB / 1.015 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/1.496, allocations: 0 / 1.015 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.496, allocations: 318.3 kB / 1.015 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/1.496, allocations: 26.62 kB / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/1.497, allocations: 34.91 kB / 1.015 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.525e-05/1.497, allocations: 27.48 kB / 1.015 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/1.497, allocations: 0 / 1.015 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006449/1.497, allocations: 142.8 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/1.497, allocations: 8 kB / 1.015 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/1.497, allocations: 0 / 1.015 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/1.498, allocations: 31.62 kB / 1.015 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/1.498, allocations: 15.92 kB / 1.015 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/1.499, allocations: 1.331 MB / 1.017 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/1.5, allocations: 14.91 kB / 1.017 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/1.5, allocations: 4 kB / 1.017 GB, free: 4.082 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition3,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001344/1.5, allocations: 109 kB / 1.017 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/1.5, allocations: 7.25 kB / 1.017 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/1.5, allocations: 12.38 kB / 1.017 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/1.5, allocations: 8.016 kB / 1.017 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/1.5, allocations: 0 / 1.017 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.5, allocations: 3.906 kB / 1.017 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008346/1.501, allocations: 361.2 kB / 1.017 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.501, allocations: 0 / 1.017 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/1.501, allocations: 7.906 kB / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/1.501, allocations: 4 kB / 1.017 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/1.501, allocations: 7.484 kB / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/1.501, allocations: 0 / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.501, allocations: 0 / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002991/1.501, allocations: 192.6 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004331/1.502, allocations: 0.5588 MB / 1.018 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/1.502, allocations: 84.95 kB / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/1.502, allocations: 4 kB / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/1.502, allocations: 15.98 kB / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.136e-05/1.502, allocations: 11.3 kB / 1.018 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/1.502, allocations: 0 / 1.018 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.263e-05/1.502, allocations: 90.58 kB / 1.018 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001214/1.504, allocations: 19.91 kB / 1.018 GB, free: 2.574 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: 8 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001934/1.504, allocations: 101.4 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004793/1.504, allocations: 163.3 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.504, allocations: 4.062 kB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/1.504, allocations: 42.62 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/1.505, allocations: 20.48 kB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/1.505, allocations: 107.5 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/1.506, allocations: 0.6997 MB / 1.019 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of SimCode: time 1.352e-06/1.506, allocations: 0 / 1.019 GB, free: 1.426 MB / 0.6355 GB