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.Reheat.Validation.DamperValves.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.Reheat.Validation.DamperValves,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_Validation_DamperValves",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.57/4.57, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5218/5.091, allocations: 104.4 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/5.356, allocations: 98.71 MB / 0.6283 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2691/5.625, allocations: 133.1 MB / 0.7583 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003641/5.625, allocations: 87.58 kB / 0.7584 GB, free: 4.359 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: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.5246/6.15, allocations: 22.06 MB / 0.7799 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/6.15, allocations: 19.12 kB / 0.78 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009931/6.151, allocations: 155.8 kB / 0.7801 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/6.154, allocations: 0.7444 MB / 0.7808 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/6.154, allocations: 52.14 kB / 0.7809 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005922/6.155, allocations: 80.94 kB / 0.781 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004929/6.16, allocations: 0.8074 MB / 0.7818 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005575/6.166, allocations: 1.059 MB / 0.7828 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-05/6.166, allocations: 1.969 kB / 0.7828 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/6.166, allocations: 6.531 kB / 0.7828 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/6.166, allocations: 31.56 kB / 0.7828 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01469/6.181, allocations: 3.638 MB / 0.7864 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004374/6.185, allocations: 0.7808 MB / 0.7871 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/6.187, allocations: 339.9 kB / 0.7875 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/6.187, allocations: 12.56 kB / 0.7875 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002285/6.19, allocations: 0.4932 MB / 0.788 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=90): time 6.913e-06/6.19, allocations: 0 / 0.788 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=90): time 0.00375/6.193, allocations: 0.7242 MB / 0.7887 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/6.194, allocations: 244.5 kB / 0.7889 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/6.196, allocations: 0.5672 MB / 0.7895 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004575/6.196, allocations: 47.61 kB / 0.7895 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007963/6.197, allocations: 427.2 kB / 0.7899 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006266/6.198, allocations: 247.1 kB / 0.7901 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/6.198, allocations: 1.344 kB / 0.7901 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000184/6.198, allocations: 343.8 kB / 0.7905 GB, free: 130 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/6.2, allocations: 290 kB / 0.7908 GB, free: 130 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/6.202, allocations: 0.5441 MB / 0.7913 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/6.203, allocations: 319.6 kB / 0.7916 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/6.203, allocations: 2.906 kB / 0.7916 GB, free: 129.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004179/6.207, allocations: 0.8427 MB / 0.7924 GB, free: 129.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005956/6.208, allocations: 1.84 MB / 0.7942 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/6.208, allocations: 6.375 kB / 0.7942 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.627e-05/6.208, allocations: 10.38 kB / 0.7942 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/6.211, allocations: 181.6 kB / 0.7944 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.311e-05/6.211, allocations: 13.89 kB / 0.7944 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/6.213, allocations: 143.1 kB / 0.7945 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002584/6.213, allocations: 41.17 kB / 0.7946 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/6.213, allocations: 3.719 kB / 0.7946 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003561/6.217, allocations: 0.7089 MB / 0.7953 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.854e-05/6.217, allocations: 3.781 kB / 0.7953 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.623e-05/6.217, allocations: 19.5 kB / 0.7953 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/6.219, allocations: 165.8 kB / 0.7955 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.632e-05/6.219, allocations: 7.656 kB / 0.7955 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/6.221, allocations: 133.7 kB / 0.7956 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003022/6.222, allocations: 35.09 kB / 0.7956 GB, free: 127.5 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: 61 ($PRE.damVal.truHol2.onDelay.u,$PRE.damVal.truHol2.toOutputTrue.enableFire,$PRE.damVal.truHol2.toInitial.enableFire,$PRE.damVal.truDel3.u,$PRE.damVal.truDel4.u,$whenCondition7,$PRE.damVal.truDel4.t_next,$whenCondition4,$PRE.damVal.truDel3.t_next,$whenCondition1,$PRE.damVal.truHol2.onDelay.t_next,damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,$PRE.damVal.hys2.y,damVal.hys2.y,$PRE.damVal.hys3.y,damVal.hys3.y,$PRE.damVal.hys4.y,damVal.hys4.y,$PRE.damVal.hys6.y,damVal.hys6.y,$PRE.damVal.hys7.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.u,damVal.truHol2.onDelay.y,$PRE.damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.localActive,$PRE.damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.newActive,$PRE.damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.active,$PRE.damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.localActive,$PRE.damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.newActive,$PRE.damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.active,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.u,damVal.truDel3.y,damVal.truDel4.u,damVal.truDel4.y,damVal.or2.y,damVal.and1.y,damVal.conDam.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 129 * 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.0006633/6.223, allocations: 172.6 kB / 0.7958 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004535/6.223, allocations: 89.25 kB / 0.7959 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/6.227, allocations: 0.7961 MB / 0.7967 GB, free: 127.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/6.227, allocations: 7.656 kB / 0.7967 GB, free: 127.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/6.227, allocations: 0 / 0.7967 GB, free: 127.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/6.227, allocations: 7.828 kB / 0.7967 GB, free: 127.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009287/6.237, allocations: 2.07 MB / 0.7987 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/6.237, allocations: 1.438 kB / 0.7987 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/6.239, allocations: 145 kB / 0.7988 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.782e-05/6.239, allocations: 8.5 kB / 0.7988 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002475/6.239, allocations: 20.62 kB / 0.7989 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.785e-05/6.239, allocations: 8.062 kB / 0.7989 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/6.239, allocations: 1.219 kB / 0.7989 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006427/6.246, allocations: 1.373 MB / 0.8002 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008361/6.254, allocations: 2.222 MB / 0.8024 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/6.255, allocations: 265.1 kB / 0.8026 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004987/6.256, allocations: 16.05 kB / 0.8027 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002154/6.258, allocations: 101.8 kB / 0.8027 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005658/6.259, allocations: 101.6 kB / 0.8028 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/6.259, allocations: 38.28 kB / 0.8029 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001337/6.26, allocations: 405.7 kB / 0.8033 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.007222/6.268, allocations: 399 kB / 0.8036 GB, free: 124.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (damVal.conVal.I.y,damVal.conDam.I.y) * Number of discrete variables: 41 (damVal.truDel4.u,damVal.truHol2.onDelay.u,damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.active,damVal.truHol2.initialStep.active,damVal.truDel3.u,$cse1,$cse2,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,damVal.hys2.y,damVal.hys3.y,damVal.hys4.y,damVal.hys6.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.y,damVal.truHol2.onDelay.t_next,damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.y,damVal.truDel3.t_next,damVal.truDel4.y,damVal.truDel4.t_next,damVal.or2.y,damVal.and1.y) * Number of discrete states: 10 (damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.hys4.y,damVal.hys6.y,damVal.truHol2.initialStep.newActive,damVal.truHol2.outputTrue.newActive,damVal.hys3.y,damVal.hys7.y,damVal.hys2.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0007608/6.268, allocations: 161 kB / 0.8038 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006272/6.275, allocations: 1.241 MB / 0.805 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/6.275, allocations: 1.625 kB / 0.805 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002222/6.277, allocations: 446 kB / 0.8054 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/6.28, allocations: 168.4 kB / 0.8056 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008814/6.289, allocations: 1.415 MB / 0.807 GB, free: 123 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002626/6.291, allocations: 1.2 MB / 0.8082 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of SimCode: time 3.076e-06/6.291, allocations: 0 / 0.8082 GB, free: 122.2 MB / 0.6511 GB