Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond.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.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond",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 4.426/4.426, allocations: 433 MB / 440.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5684/4.995, allocations: 104.4 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/5.241, allocations: 98.73 MB / 0.6283 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2925/5.534, allocations: 126.8 MB / 0.7521 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003584/5.534, allocations: 79.58 kB / 0.7522 GB, free: 10.68 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.04852/5.583, allocations: 9.596 MB / 0.7616 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/5.583, allocations: 8 kB / 0.7616 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/5.583, allocations: 79.06 kB / 0.7617 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/5.584, allocations: 287.4 kB / 0.7619 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.588e-05/5.584, allocations: 31.98 kB / 0.762 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/5.584, allocations: 40 kB / 0.762 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001527/5.585, allocations: 386.6 kB / 0.7624 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/5.587, allocations: 0.516 MB / 0.7629 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/5.587, allocations: 4 kB / 0.7629 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-05/5.587, allocations: 11.98 kB / 0.7629 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/5.587, allocations: 16 kB / 0.7629 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005386/5.593, allocations: 1.515 MB / 0.7644 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/5.595, allocations: 0.5255 MB / 0.7649 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000957/5.596, allocations: 182.2 kB / 0.7651 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/5.596, allocations: 20.67 kB / 0.7651 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001487/5.597, allocations: 336.6 kB / 0.7654 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=67): time 6.773e-06/5.597, allocations: 0 / 0.7654 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=67): time 0.002713/5.6, allocations: 476.6 kB / 0.7659 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/5.6, allocations: 89.11 kB / 0.766 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/5.601, allocations: 289.8 kB / 0.7662 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000202/5.602, allocations: 29.7 kB / 0.7663 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000403/5.602, allocations: 244.5 kB / 0.7665 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004228/5.602, allocations: 169.6 kB / 0.7667 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/5.603, allocations: 0 / 0.7667 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003284/5.603, allocations: 358.8 kB / 0.767 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007761/5.604, allocations: 141.6 kB / 0.7671 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008195/5.605, allocations: 297 kB / 0.7674 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009933/5.606, allocations: 176.6 kB / 0.7676 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/5.606, allocations: 0 / 0.7676 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002284/5.608, allocations: 0.4945 MB / 0.7681 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/5.608, allocations: 4 kB / 0.7681 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/5.608, allocations: 4 kB / 0.7681 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.163e-05/5.608, allocations: 8 kB / 0.7681 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000955/5.609, allocations: 103.8 kB / 0.7682 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.722e-05/5.609, allocations: 15.94 kB / 0.7682 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006881/5.61, allocations: 51.78 kB / 0.7682 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.23e-05/5.61, allocations: 31.91 kB / 0.7683 GB, free: 9.895 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$PRE.trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.uniDel.firstTrigger,$whenCondition7,$PRE.trimRespondLogic.tim.t_next,$whenCondition10,trimRespondLogic.uniDel.sampleTrigger,$whenCondition11,trimRespondLogic.sampler.sampleTrigger,$whenCondition8,$whenCondition9,trimRespondLogic.tim.u,trimRespondLogic.tim.y,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,reaToInt1.y,trimRespondLogic.tim.t_next,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.uniDel.firstTrigger,$whenCondition6,$whenCondition1,$PRE.trimRespondLogic1.tim.t_next,$whenCondition4,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition5,trimRespondLogic1.sampler.sampleTrigger,$whenCondition2,$whenCondition3,trimRespondLogic1.tim.u,trimRespondLogic1.tim.y,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,$PRE.trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,$PRE.booPul.pulseStart,booPul.pulseStart,reaToInt2.y,trimRespondLogic1.tim.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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.0003577/5.61, allocations: 142 kB / 0.7684 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/5.61, allocations: 55.38 kB / 0.7685 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/5.613, allocations: 0.4933 MB / 0.7689 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/5.613, allocations: 4 kB / 0.769 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.778e-05/5.613, allocations: 7.906 kB / 0.769 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/5.613, allocations: 3.984 kB / 0.769 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004677/5.617, allocations: 1.3 MB / 0.7702 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/5.617, allocations: 7.922 kB / 0.7702 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000879/5.618, allocations: 75.88 kB / 0.7703 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.82e-05/5.618, allocations: 7.984 kB / 0.7703 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.002e-05/5.618, allocations: 7.984 kB / 0.7703 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.581e-05/5.618, allocations: 7.906 kB / 0.7703 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/5.618, allocations: 0 / 0.7703 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001743/5.62, allocations: 0.674 MB / 0.771 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001744/5.622, allocations: 1.053 MB / 0.772 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/5.622, allocations: 128.5 kB / 0.7721 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/5.622, allocations: 15.91 kB / 0.7722 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007526/5.623, allocations: 39.95 kB / 0.7722 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/5.623, allocations: 63.91 kB / 0.7723 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/5.624, allocations: 27.97 kB / 0.7723 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004657/5.624, allocations: 208.6 kB / 0.7725 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001769/5.626, allocations: 127.5 kB / 0.7726 GB, free: 5.301 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 (trimRespondLogic1.tim.u,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,trimRespondLogic1.tim.y,trimRespondLogic1.tim.t_next,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.sampler.y,trimRespondLogic1.sampler.firstTrigger,booPul.pulseStart,reaToInt2.y,trimRespondLogic.sampler.sampleTrigger,trimRespondLogic.uniDel.sampleTrigger,$whenCondition11,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,trimRespondLogic.tim.y,trimRespondLogic.tim.t_next,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.sampler.y,trimRespondLogic.sampler.firstTrigger,reaToInt1.y,trimRespondLogic.tim.u) * Number of discrete states: 4 (trimRespondLogic.tim.t_next,trimRespondLogic.uniDel.u,trimRespondLogic1.tim.t_next,trimRespondLogic1.uniDel.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0003191/5.626, allocations: 139 kB / 0.7727 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001463/5.628, allocations: 447.9 kB / 0.7732 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-05/5.628, allocations: 8 kB / 0.7732 GB, free: 4.715 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009714/5.629, allocations: 277 kB / 0.7734 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000791/5.63, allocations: 53.09 kB / 0.7735 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/5.633, allocations: 0.7361 MB / 0.7742 GB, free: 3.625 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/5.634, allocations: 0.9462 MB / 0.7751 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of SimCode: time 1.623e-06/5.634, allocations: 0 / 0.7751 GB, free: 2.645 MB / 0.6511 GB