Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",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.226/2.226, allocations: 248.6 MB / 255.9 MB, free: 7.602 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001654/0.001654, allocations: 182.8 kB / 315.1 MB, free: 8.605 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.1 MB / 0.5658 GB, free: 4.121 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002365/0.002364, allocations: 89.77 kB / 0.67 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.5634/0.5658, allocations: 112.4 MB / 0.7797 GB, free: 107.3 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.8129, allocations: 106.2 MB / 0.8835 GB, free: 1.039 MB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.717/1.53, allocations: 131.5 MB / 1.012 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003848/1.53, allocations: 80.48 kB / 1.012 GB, free: 14.74 MB / 0.6387 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.004566/1.535, allocations: 0.7743 MB / 1.013 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 8.482e-05/1.535, allocations: 8 kB / 1.013 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/1.535, allocations: 7.844 kB / 1.013 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/1.535, allocations: 171 kB / 1.013 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/1.536, allocations: 0 / 1.013 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/1.536, allocations: 7.938 kB / 1.013 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001419/1.536, allocations: 21.75 kB / 1.013 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/1.536, allocations: 32.89 kB / 1.013 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.536, allocations: 0 / 1.013 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/1.536, allocations: 7.906 kB / 1.013 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/1.536, allocations: 7.969 kB / 1.013 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/1.537, allocations: 231.9 kB / 1.013 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.919e-05/1.537, allocations: 37.23 kB / 1.013 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.397e-05/1.537, allocations: 12.55 kB / 1.013 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/1.537, allocations: 3.938 kB / 1.013 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.822e-05/1.537, allocations: 50.94 kB / 1.013 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/1.537, allocations: 0 / 1.013 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4): time 0.0001927/1.537, allocations: 52.44 kB / 1.013 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/1.537, allocations: 54.03 kB / 1.013 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/1.537, allocations: 108 kB / 1.014 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/1.537, allocations: 25.7 kB / 1.014 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/1.537, allocations: 88 kB / 1.014 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/1.537, allocations: 3.906 kB / 1.014 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/1.537, allocations: 4 kB / 1.014 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.538, allocations: 314.7 kB / 1.014 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.19e-05/1.538, allocations: 4 kB / 1.014 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/1.538, allocations: 29.88 kB / 1.014 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.913e-05/1.538, allocations: 15.31 kB / 1.014 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.538, allocations: 0 / 1.014 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001395/1.538, allocations: 60.66 kB / 1.014 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.538, allocations: 8 kB / 1.014 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/1.538, allocations: 0 / 1.014 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.538, allocations: 0 / 1.014 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/1.538, allocations: 16.09 kB / 1.014 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/1.538, allocations: 3.984 kB / 1.014 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/1.538, allocations: 8 kB / 1.014 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/1.538, allocations: 0 / 1.014 GB, free: 12.52 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.176e-05/1.538, allocations: 111.5 kB / 1.014 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/1.538, allocations: 4 kB / 1.014 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/1.538, allocations: 11.3 kB / 1.014 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/1.538, allocations: 7.906 kB / 1.014 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.538, allocations: 3.938 kB / 1.014 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.538, allocations: 0 / 1.014 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/1.539, allocations: 280.9 kB / 1.015 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.539, allocations: 0 / 1.015 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/1.539, allocations: 15.98 kB / 1.015 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/1.539, allocations: 4 kB / 1.015 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/1.539, allocations: 0 / 1.015 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.539, allocations: 0.875 kB / 1.015 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.539, allocations: 0 / 1.015 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001747/1.539, allocations: 149.8 kB / 1.015 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003046/1.54, allocations: 0.5248 MB / 1.015 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/1.54, allocations: 89.08 kB / 1.015 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/1.54, allocations: 0 / 1.015 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/1.54, allocations: 18.58 kB / 1.015 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/1.54, allocations: 0 / 1.015 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/1.54, allocations: 0 / 1.015 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.454e-05/1.54, allocations: 90.78 kB / 1.015 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001104/1.541, allocations: 4 kB / 1.015 GB, free: 11.16 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001498/1.541, allocations: 99.23 kB / 1.015 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001359/1.541, allocations: 26.56 kB / 1.015 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.541, allocations: 0 / 1.015 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.854e-05/1.541, allocations: 10.94 kB / 1.016 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/1.542, allocations: 8.188 kB / 1.016 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/1.542, allocations: 86.64 kB / 1.016 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003728/1.543, allocations: 0.6993 MB / 1.016 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of SimCode: time 1.052e-06/1.543, allocations: 0 / 1.016 GB, free: 10.19 MB / 0.6387 GB