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.TerminalUnits.SetPoints.Validation.ZoneTemperatures.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.TerminalUnits.SetPoints.Validation.ZoneTemperatures,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_SetPoints_Validation_ZoneTemperatures",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.159/4.159, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6099/4.769, allocations: 104.4 MB / 0.5319 GB, free: 12.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/5.023, allocations: 98.72 MB / 0.6283 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3086/5.332, allocations: 132.5 MB / 0.7577 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/5.332, allocations: 75.59 kB / 0.7578 GB, free: 5.027 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: 389 * Number of variables: 389 Notification: Performance of Generate backend data structure: time 0.5339/5.866, allocations: 21.32 MB / 0.7786 GB, free: 93 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/5.866, allocations: 7.156 kB / 0.7786 GB, free: 93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007148/5.867, allocations: 173.5 kB / 0.7788 GB, free: 92.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/5.869, allocations: 0.6594 MB / 0.7794 GB, free: 92.68 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/5.869, allocations: 67.78 kB / 0.7795 GB, free: 92.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/5.869, allocations: 96.44 kB / 0.7796 GB, free: 92.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003327/5.872, allocations: 0.9658 MB / 0.7805 GB, free: 92.67 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004002/5.876, allocations: 1.197 MB / 0.7817 GB, free: 92.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.127e-05/5.877, allocations: 3.75 kB / 0.7817 GB, free: 92.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/5.877, allocations: 2.75 kB / 0.7817 GB, free: 92.52 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/5.877, allocations: 37.31 kB / 0.7817 GB, free: 92.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01188/5.889, allocations: 4.369 MB / 0.786 GB, free: 91.32 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/5.891, allocations: 0.7206 MB / 0.7867 GB, free: 91.29 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000862/5.892, allocations: 332.5 kB / 0.787 GB, free: 91.29 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.252e-05/5.892, allocations: 14.81 kB / 0.787 GB, free: 91.29 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001324/5.893, allocations: 430 kB / 0.7874 GB, free: 91.22 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=101): time 4.8e-06/5.893, allocations: 0 / 0.7874 GB, free: 91.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=101): time 0.003682/5.897, allocations: 0.7069 MB / 0.7881 GB, free: 91.13 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.105e-05/5.897, allocations: 76.75 kB / 0.7882 GB, free: 91.07 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/5.898, allocations: 0.5736 MB / 0.7887 GB, free: 90.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002713/5.899, allocations: 43.48 kB / 0.7888 GB, free: 90.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000503/5.899, allocations: 0.4984 MB / 0.7893 GB, free: 90.58 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003886/5.899, allocations: 266.3 kB / 0.7895 GB, free: 90.42 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.633e-05/5.9, allocations: 0 / 0.7895 GB, free: 90.42 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001751/5.9, allocations: 397.9 kB / 0.7899 GB, free: 90.11 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/5.901, allocations: 323.7 kB / 0.7902 GB, free: 90.11 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/5.902, allocations: 0.5059 MB / 0.7907 GB, free: 89.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009247/5.903, allocations: 330.8 kB / 0.791 GB, free: 89.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/5.903, allocations: 0 / 0.791 GB, free: 89.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00266/5.906, allocations: 0.9154 MB / 0.7919 GB, free: 89.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004871/5.907, allocations: 1.919 MB / 0.7938 GB, free: 87.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/5.907, allocations: 10.83 kB / 0.7938 GB, free: 87.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.463e-05/5.907, allocations: 11.22 kB / 0.7938 GB, free: 87.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/5.909, allocations: 198.2 kB / 0.794 GB, free: 87.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.122e-05/5.909, allocations: 7.375 kB / 0.794 GB, free: 87.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/5.91, allocations: 119.8 kB / 0.7941 GB, free: 87.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/5.91, allocations: 46.91 kB / 0.7942 GB, free: 87.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/5.911, allocations: 3.844 kB / 0.7942 GB, free: 87.68 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002216/5.913, allocations: 0.7873 MB / 0.7949 GB, free: 87.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/5.913, allocations: 3.812 kB / 0.7949 GB, free: 87.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/5.913, allocations: 12.19 kB / 0.795 GB, free: 87.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/5.914, allocations: 171.3 kB / 0.7951 GB, free: 87.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/5.914, allocations: 15.53 kB / 0.7951 GB, free: 87.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/5.915, allocations: 102 kB / 0.7952 GB, free: 87.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/5.915, allocations: 45.47 kB / 0.7953 GB, free: 87.56 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 87 ($PRE.TZonSet.truHol.onDelay.u,$PRE.TZonSet.truHol.toOutputTrue.enableFire,$PRE.TZonSet.truHol.toInitial.enableFire,$PRE.TZonSet.tim.yAcc,TZonSet.tim.yAcc,$whenCondition4,$PRE.TZonSet.truHol.onDelay.t_next,$whenCondition2,$whenCondition1,TZonSet.truHol.onDelay.t_next,TZonSet.truHol.stateGraphRoot.resume,TZonSet.truHol.stateGraphRoot.suspend,TZonSet.winSenCon.y,TZonSet.have_occSenCon.y,TZonSet.heaSetAdjCon.y,TZonSet.cooSetAdjCon.y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,TZonSet.uOpeMod,TZonSet.yAla,$PRE.TZonSet.cooSetFre.y,TZonSet.cooSetFre.y,TZonSet.cooSetFre.trigger,TZonSet.or5.y,$PRE.TZonSet.heaSetFre.y,TZonSet.heaSetFre.y,TZonSet.tim.u,$PRE.TZonSet.tim.entryTime,TZonSet.tim.entryTime,TZonSet.truHol.stateGraphRoot.activeSteps,TZonSet.truHol.onDelay.u,TZonSet.truHol.onDelay.y,$PRE.TZonSet.truHol.initialStep.localActive,TZonSet.truHol.initialStep.localActive,$PRE.TZonSet.truHol.initialStep.newActive,TZonSet.truHol.initialStep.newActive,$PRE.TZonSet.truHol.initialStep.oldActive,TZonSet.truHol.initialStep.oldActive,TZonSet.truHol.initialStep.active,$PRE.TZonSet.truHol.outputTrue.localActive,TZonSet.truHol.outputTrue.localActive,$PRE.TZonSet.truHol.outputTrue.newActive,TZonSet.truHol.outputTrue.newActive,$PRE.TZonSet.truHol.outputTrue.oldActive,TZonSet.truHol.outputTrue.oldActive,TZonSet.truHol.outputTrue.active,TZonSet.truHol.toOutputTrue.enableFire,TZonSet.truHol.toInitial.enableFire,$PRE.TZonSet.edg1.u,TZonSet.edg1.u,$PRE.TZonSet.cooSetSam.y,TZonSet.cooSetSam.y,TZonSet.cooSetSam.trigger,$PRE.TZonSet.heaSetSam.y,TZonSet.heaSetSam.y,TZonSet.greThr.y,TZonSet.intEqu.y,TZonSet.intEqu1.y,TZonSet.or3.y,TZonSet.and11.u1,TZonSet.and11.y,TZonSet.lesEqu.y,TZonSet.greEqu1.y,TZonSet.greEqu2.y,TZonSet.uOccSen,TZonSet.uWinSta,booToInt.u,$PRE.winSta.pulseStart,winSta.pulseStart,$PRE.occSta.pulseStart,occSta.pulseStart,$PRE.TZonSet.edg.u,TZonSet.edg.u,TZonSet.not1.y,TZonSet.not2.y,TZonSet.or1.u3,TZonSet.or1.u2,TZonSet.or1.u1,TZonSet.or2.u2,TZonSet.or2.u1,TZonSet.or4.u1,TZonSet.or4.u3,TZonSet.or4.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 152 * 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.000384/5.916, allocations: 180 kB / 0.7954 GB, free: 87.41 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/5.916, allocations: 86 kB / 0.7955 GB, free: 87.36 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/5.918, allocations: 0.7592 MB / 0.7963 GB, free: 87.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/5.918, allocations: 7.875 kB / 0.7963 GB, free: 87.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/5.918, allocations: 3.938 kB / 0.7963 GB, free: 87.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/5.918, allocations: 6.938 kB / 0.7963 GB, free: 87.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004651/5.923, allocations: 1.95 MB / 0.7982 GB, free: 86.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/5.923, allocations: 1.281 kB / 0.7982 GB, free: 86.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/5.924, allocations: 134.4 kB / 0.7983 GB, free: 86.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-05/5.924, allocations: 5.156 kB / 0.7983 GB, free: 86.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.65e-05/5.924, allocations: 13.83 kB / 0.7983 GB, free: 86.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/5.924, allocations: 7.969 kB / 0.7983 GB, free: 86.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/5.924, allocations: 1.344 kB / 0.7983 GB, free: 86.91 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00241/5.927, allocations: 0.8965 MB / 0.7992 GB, free: 86.63 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002338/5.929, allocations: 1.28 MB / 0.8005 GB, free: 85.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/5.929, allocations: 163.8 kB / 0.8006 GB, free: 85.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/5.93, allocations: 11.23 kB / 0.8006 GB, free: 85.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/5.931, allocations: 74.67 kB / 0.8007 GB, free: 85.83 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/5.931, allocations: 97.47 kB / 0.8008 GB, free: 85.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/5.931, allocations: 33.14 kB / 0.8008 GB, free: 85.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0007146/5.932, allocations: 369.2 kB / 0.8012 GB, free: 85.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004062/5.936, allocations: 429.1 kB / 0.8016 GB, free: 85.63 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 52 (TZonSet.cooSetFre.trigger,TZonSet.truHol.initialStep.localActive,TZonSet.truHol.outputTrue.active,TZonSet.truHol.onDelay.u,TZonSet.cooSetSam.trigger,TZonSet.truHol.outputTrue.localActive,TZonSet.tim.u,$cse1,$cse2,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition2,$whenCondition1,TZonSet.uOpeMod,TZonSet.yAla,TZonSet.cooSetFre.y,TZonSet.heaSetFre.y,TZonSet.tim.entryTime,TZonSet.tim.yAcc,TZonSet.truHol.stateGraphRoot.activeSteps,TZonSet.truHol.onDelay.y,TZonSet.truHol.onDelay.t_next,TZonSet.truHol.initialStep.newActive,TZonSet.truHol.initialStep.oldActive,TZonSet.truHol.initialStep.active,TZonSet.truHol.outputTrue.newActive,TZonSet.truHol.outputTrue.oldActive,TZonSet.truHol.toOutputTrue.enableFire,TZonSet.truHol.toInitial.enableFire,TZonSet.edg1.u,TZonSet.cooSetSam.y,TZonSet.heaSetSam.y,TZonSet.greThr.y,TZonSet.intEqu.y,TZonSet.intEqu1.y,TZonSet.or3.y,TZonSet.and11.u1,TZonSet.and11.y,TZonSet.lesEqu.y,TZonSet.greEqu1.y,TZonSet.greEqu2.y,TZonSet.uOccSen,TZonSet.uWinSta,booToInt.u,winSta.pulseStart,occSta.pulseStart,TZonSet.or5.y) * Number of discrete states: 5 (TZonSet.truHol.onDelay.t_next,TZonSet.tim.y,TZonSet.truHol.outputTrue.newActive,TZonSet.edg1.u,TZonSet.truHol.initialStep.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0004888/5.937, allocations: 157.4 kB / 0.8017 GB, free: 85.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003869/5.94, allocations: 1.364 MB / 0.8031 GB, free: 85.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/5.941, allocations: 0 / 0.8031 GB, free: 85.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/5.942, allocations: 449.9 kB / 0.8035 GB, free: 85.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000837/5.943, allocations: 73.47 kB / 0.8036 GB, free: 85.42 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005957/5.949, allocations: 1.441 MB / 0.805 GB, free: 84.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/5.95, allocations: 1.231 MB / 0.8062 GB, free: 84.23 MB / 0.6511 GB Notification: Performance of SimCode: time 3.086e-06/5.95, allocations: 4 kB / 0.8062 GB, free: 84.23 MB / 0.6511 GB