Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_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 loadModel(Buildings): time 3.956/3.956, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5552/4.511, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/4.738, allocations: 98.73 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2782/5.016, allocations: 125.7 MB / 0.751 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/5.017, allocations: 75.59 kB / 0.7511 GB, free: 11.85 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.01675/5.033, allocations: 3.561 MB / 0.7546 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/5.033, allocations: 8 kB / 0.7546 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.162e-05/5.034, allocations: 19.81 kB / 0.7546 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/5.034, allocations: 226.7 kB / 0.7548 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/5.034, allocations: 0 / 0.7548 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/5.034, allocations: 8 kB / 0.7548 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001793/5.034, allocations: 43.84 kB / 0.7549 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/5.035, allocations: 125.8 kB / 0.755 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/5.035, allocations: 0 / 0.755 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/5.035, allocations: 4 kB / 0.755 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/5.035, allocations: 0 / 0.755 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/5.036, allocations: 0.7163 MB / 0.7557 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/5.036, allocations: 30.58 kB / 0.7557 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.93e-05/5.036, allocations: 16.86 kB / 0.7557 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/5.036, allocations: 0 / 0.7557 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/5.037, allocations: 110.7 kB / 0.7559 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.405e-06/5.037, allocations: 4 kB / 0.7559 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003517/5.037, allocations: 97.42 kB / 0.7559 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/5.037, allocations: 128.5 kB / 0.7561 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/5.037, allocations: 161.4 kB / 0.7562 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/5.037, allocations: 29.69 kB / 0.7563 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/5.038, allocations: 111.8 kB / 0.7564 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/5.038, allocations: 31.61 kB / 0.7564 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/5.038, allocations: 4.062 kB / 0.7564 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001473/5.038, allocations: 330.7 kB / 0.7567 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.561e-05/5.038, allocations: 20.38 kB / 0.7567 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/5.038, allocations: 127.1 kB / 0.7569 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/5.038, allocations: 39.98 kB / 0.7569 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/5.038, allocations: 0 / 0.7569 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004122/5.039, allocations: 157.3 kB / 0.757 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/5.039, allocations: 4 kB / 0.757 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/5.039, allocations: 4 kB / 0.757 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/5.039, allocations: 4 kB / 0.7571 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/5.039, allocations: 36.3 kB / 0.7571 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/5.039, allocations: 15.98 kB / 0.7571 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/5.039, allocations: 31.77 kB / 0.7571 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/5.039, allocations: 12 kB / 0.7571 GB, free: 5.344 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.00017/5.04, allocations: 114.7 kB / 0.7573 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.231e-05/5.04, allocations: 23.81 kB / 0.7573 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/5.04, allocations: 25.38 kB / 0.7573 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/5.04, allocations: 4 kB / 0.7573 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/5.04, allocations: 0 / 0.7573 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/5.04, allocations: 0 / 0.7573 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/5.041, allocations: 474.3 kB / 0.7578 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/5.041, allocations: 0 / 0.7578 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/5.042, allocations: 19.98 kB / 0.7578 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/5.042, allocations: 0 / 0.7578 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/5.042, allocations: 4 kB / 0.7578 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/5.042, allocations: 0 / 0.7578 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/5.042, allocations: 3.906 kB / 0.7578 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000653/5.043, allocations: 349.3 kB / 0.7581 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009146/5.044, allocations: 0.7405 MB / 0.7588 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/5.044, allocations: 96.91 kB / 0.7589 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.216e-05/5.044, allocations: 4 kB / 0.7589 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/5.044, allocations: 15.98 kB / 0.7589 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/5.044, allocations: 7.984 kB / 0.759 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/5.044, allocations: 12.12 kB / 0.759 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002018/5.045, allocations: 132.2 kB / 0.7591 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002317/5.047, allocations: 31.91 kB / 0.7591 GB, free: 3.156 MB / 0.6355 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.pulsStart,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.0003027/5.047, allocations: 107.2 kB / 0.7592 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004303/5.048, allocations: 92.83 kB / 0.7593 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/5.048, allocations: 0 / 0.7593 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/5.048, allocations: 32.12 kB / 0.7593 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/5.049, allocations: 52.14 kB / 0.7594 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/5.05, allocations: 243.8 kB / 0.7596 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006338/5.051, allocations: 0.7549 MB / 0.7604 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of SimCode: time 1.283e-06/5.051, allocations: 0 / 0.7604 GB, free: 1.816 MB / 0.6355 GB