Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") [: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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.489/1.489, allocations: 285.5 MB / 292.8 MB, free: 10.41 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 189.2 kB / 361.1 MB, free: 7.059 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.1 MB / 0.6195 GB, free: 10.27 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009228/0.0009231, allocations: 86.48 kB / 0.7325 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.955e-06/8.326e-06, allocations: 0 / 0.8511 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6492/0.6493, allocations: 115.3 MB / 0.9637 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/0.8514, allocations: 137 MB / 1.097 GB, free: 2.859 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.8517, allocations: 79.94 kB / 1.098 GB, free: 2.781 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.006282/0.858, allocations: 1.518 MB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.8581, allocations: 4 kB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002955/0.8584, allocations: 335.4 kB / 1.099 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.8584, allocations: 9.125 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.8585, allocations: 5.953 kB / 1.099 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.8586, allocations: 168 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.8586, allocations: 1.375 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.8587, allocations: 0 / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.392e-05/0.8587, allocations: 4.781 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.66e-05/0.8588, allocations: 34.17 kB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.8588, allocations: 0.5 kB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.8588, allocations: 1.172 kB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.8588, allocations: 11.89 kB / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.859, allocations: 138.2 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.661e-05/0.859, allocations: 18.61 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.8591, allocations: 9.953 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006223/0.8597, allocations: 0.5739 MB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.8597, allocations: 34.56 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.8597, allocations: 0 / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0005689/0.8603, allocations: 246.8 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.8604, allocations: 51.41 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/0.8604, allocations: 89.66 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.8604, allocations: 25.7 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.8605, allocations: 92.12 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.8605, allocations: 11.75 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.8605, allocations: 0 / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.8606, allocations: 318.2 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.8606, allocations: 10.47 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.8607, allocations: 13.72 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.71e-05/0.8607, allocations: 11.92 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.8607, allocations: 0 / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.931e-05/0.8608, allocations: 45.7 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.8609, allocations: 8 kB / 1.101 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.8609, allocations: 4.062 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.8609, allocations: 3.906 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.662e-05/0.8609, allocations: 14.11 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.861, allocations: 0 / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.861, allocations: 0 / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.861, allocations: 0 / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.328e-05/0.8611, allocations: 108.9 kB / 1.101 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.8611, allocations: 0.6094 kB / 1.101 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.8612, allocations: 57.28 kB / 1.101 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.8612, allocations: 5.734 kB / 1.101 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.8612, allocations: 0 / 1.101 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.8613, allocations: 0 / 1.101 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.56e-05/0.8613, allocations: 134.2 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.8614, allocations: 0 / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.8614, allocations: 7.984 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8614, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.8614, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8614, allocations: 4 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8614, allocations: 3.906 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001428/0.8616, allocations: 81.06 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.8616, allocations: 82.39 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.8617, allocations: 0 / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.821e-05/0.8617, allocations: 4 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.8617, allocations: 4.031 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.8617, allocations: 0 / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.825e-05/0.8618, allocations: 80.27 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002445/0.862, allocations: 40 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002301/0.8623, allocations: 134.9 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.398e-05/0.8623, allocations: 21.06 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8624, allocations: 0 / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-05/0.8624, allocations: 7.984 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.8625, allocations: 8.438 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/0.8627, allocations: 73.11 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.8629, allocations: 0.6954 MB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.8629, allocations: 0 / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of Templates: time 0.003268/0.8662, allocations: 1.193 MB / 1.104 GB, free: 11.88 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)