Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",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.709/3.709, allocations: 433 MB / 440.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5317/4.24, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/4.475, allocations: 98.71 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2588/4.733, allocations: 126.7 MB / 0.752 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/4.734, allocations: 99.56 kB / 0.7521 GB, free: 10.8 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.01507/4.749, allocations: 3.41 MB / 0.7555 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/4.749, allocations: 8 kB / 0.7555 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.946e-05/4.749, allocations: 27.72 kB / 0.7555 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/4.75, allocations: 235.5 kB / 0.7557 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/4.75, allocations: 4 kB / 0.7557 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/4.75, allocations: 12 kB / 0.7557 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007173/4.751, allocations: 111.9 kB / 0.7558 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007848/4.751, allocations: 181 kB / 0.756 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/4.751, allocations: 0 / 0.756 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/4.751, allocations: 0 / 0.756 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/4.751, allocations: 7.938 kB / 0.756 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/4.754, allocations: 0.5627 MB / 0.7566 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000893/4.755, allocations: 114.7 kB / 0.7567 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/4.755, allocations: 36.86 kB / 0.7567 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-05/4.755, allocations: 0 / 0.7567 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/4.755, allocations: 46.69 kB / 0.7568 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.895e-06/4.755, allocations: 0 / 0.7568 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0006841/4.756, allocations: 105.4 kB / 0.7569 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/4.756, allocations: 132.5 kB / 0.757 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/4.757, allocations: 158.4 kB / 0.7571 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-05/4.757, allocations: 29.7 kB / 0.7572 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/4.757, allocations: 128.2 kB / 0.7573 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.807e-05/4.757, allocations: 31.55 kB / 0.7573 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/4.757, allocations: 3.938 kB / 0.7573 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002737/4.757, allocations: 331.5 kB / 0.7576 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/4.758, allocations: 36 kB / 0.7577 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/4.758, allocations: 67.42 kB / 0.7577 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/4.758, allocations: 27.98 kB / 0.7578 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/4.758, allocations: 0 / 0.7578 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007335/4.759, allocations: 121.8 kB / 0.7579 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/4.759, allocations: 12 kB / 0.7579 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/4.759, allocations: 3.984 kB / 0.7579 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/4.759, allocations: 0 / 0.7579 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/4.759, allocations: 23.92 kB / 0.7579 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/4.759, allocations: 4 kB / 0.7579 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/4.76, allocations: 35.89 kB / 0.7579 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/4.76, allocations: 3.984 kB / 0.758 GB, free: 4.57 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001656/4.76, allocations: 105 kB / 0.7581 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/4.76, allocations: 23.8 kB / 0.7581 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007595/4.761, allocations: 123 kB / 0.7582 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/4.761, allocations: 4 kB / 0.7582 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/4.761, allocations: 0 / 0.7582 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/4.761, allocations: 0 / 0.7582 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006711/4.762, allocations: 234 kB / 0.7584 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/4.762, allocations: 0 / 0.7584 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/4.762, allocations: 19.92 kB / 0.7584 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/4.762, allocations: 8 kB / 0.7584 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/4.762, allocations: 192 / 0.7584 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/4.762, allocations: 3.938 kB / 0.7585 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.609e-05/4.762, allocations: 3.938 kB / 0.7585 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006295/4.763, allocations: 211.2 kB / 0.7587 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007824/4.764, allocations: 0.5778 MB / 0.7592 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/4.764, allocations: 88.86 kB / 0.7593 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.641e-05/4.764, allocations: 4 kB / 0.7593 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005616/4.765, allocations: 35.97 kB / 0.7593 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/4.765, allocations: 23.95 kB / 0.7594 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/4.765, allocations: 7.984 kB / 0.7594 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002334/4.765, allocations: 120.1 kB / 0.7595 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00213/4.767, allocations: 35.89 kB / 0.7595 GB, free: 2.859 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0003127/4.768, allocations: 119.2 kB / 0.7596 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004798/4.768, allocations: 83.98 kB / 0.7597 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/4.768, allocations: 0 / 0.7597 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/4.768, allocations: 43.94 kB / 0.7598 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/4.769, allocations: 13.16 kB / 0.7598 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/4.77, allocations: 209.5 kB / 0.76 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007938/4.771, allocations: 0.7586 MB / 0.7607 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of SimCode: time 1.352e-06/4.771, allocations: 0 / 0.7607 GB, free: 1.578 MB / 0.6355 GB