Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.437/1.437, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001148/0.001149, allocations: 181.2 kB / 366.3 MB, free: 1.988 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.308/1.308, allocations: 205.1 MB / 0.6256 GB, free: 5.828 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.0009455/0.0009454, allocations: 88.3 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.446e-06/8.486e-06, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6344/0.6344, allocations: 116.3 MB / 0.9726 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1774/0.8119, allocations: 138 MB / 1.107 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.8123, allocations: 82.61 kB / 1.107 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.006446/0.8188, allocations: 1.532 MB / 1.109 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.8188, allocations: 4 kB / 1.109 GB, free: 8.93 MB / 0.7136 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.0003313/0.8192, allocations: 330.4 kB / 1.109 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.8192, allocations: 11.97 kB / 1.109 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.8193, allocations: 0 / 1.109 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.8194, allocations: 171 kB / 1.109 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.8195, allocations: 0 / 1.109 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.8195, allocations: 0 / 1.109 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.087e-05/0.8196, allocations: 4 kB / 1.109 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.329e-05/0.8196, allocations: 37.69 kB / 1.109 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.8196, allocations: 0 / 1.109 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.8197, allocations: 0 / 1.109 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.8197, allocations: 7.891 kB / 1.109 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.8199, allocations: 139 kB / 1.11 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.947e-05/0.8199, allocations: 22.52 kB / 1.11 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.82, allocations: 4.859 kB / 1.11 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006316/0.8206, allocations: 0.574 MB / 1.11 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.8207, allocations: 30.56 kB / 1.11 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.502e-06/0.8207, allocations: 4 kB / 1.11 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0007668/0.8214, allocations: 246.3 kB / 1.11 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.8215, allocations: 51.41 kB / 1.11 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.248e-05/0.8215, allocations: 96.92 kB / 1.111 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.8216, allocations: 27.3 kB / 1.111 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.8216, allocations: 80.14 kB / 1.111 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.8216, allocations: 19.94 kB / 1.111 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.8217, allocations: 0 / 1.111 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.8218, allocations: 310.8 kB / 1.111 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.8218, allocations: 6.469 kB / 1.111 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.829e-05/0.8218, allocations: 21.7 kB / 1.111 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.181e-05/0.8219, allocations: 4 kB / 1.111 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.8219, allocations: 0 / 1.111 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001092/0.822, allocations: 57.62 kB / 1.111 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.822, allocations: 4 kB / 1.111 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.822, allocations: 4 kB / 1.111 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.822, allocations: 3.906 kB / 1.111 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.4e-05/0.8221, allocations: 4 kB / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.8221, allocations: 4 kB / 1.111 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.629e-05/0.8221, allocations: 0 / 1.111 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.8222, allocations: 0 / 1.111 GB, free: 6.312 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.267e-05/0.8222, allocations: 101.7 kB / 1.111 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.8222, allocations: 8.062 kB / 1.111 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.8224, allocations: 63.62 kB / 1.111 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.8224, allocations: 0 / 1.111 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.8224, allocations: 4 kB / 1.111 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8225, allocations: 0 / 1.111 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.883e-05/0.8226, allocations: 134.2 kB / 1.111 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.8226, allocations: 0 / 1.111 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.188e-05/0.8226, allocations: 4.656 kB / 1.111 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.8226, allocations: 0 / 1.111 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.8227, allocations: 4 kB / 1.111 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.8227, allocations: 0 / 1.111 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.8227, allocations: 3.906 kB / 1.111 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001519/0.8228, allocations: 77.12 kB / 1.111 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.8229, allocations: 85.47 kB / 1.112 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.8229, allocations: 0.5625 kB / 1.112 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.771e-05/0.8229, allocations: 0 / 1.112 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.823, allocations: 11.94 kB / 1.112 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.823, allocations: 8 kB / 1.112 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.767e-05/0.823, allocations: 83.27 kB / 1.112 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000229/0.8233, allocations: 39.92 kB / 1.112 GB, free: 5.605 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.0002539/0.8235, allocations: 132.3 kB / 1.112 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.733e-05/0.8236, allocations: 19.98 kB / 1.112 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8236, allocations: 0 / 1.112 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.8236, allocations: 7.938 kB / 1.112 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.8238, allocations: 4.125 kB / 1.112 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.824, allocations: 79.8 kB / 1.112 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.8243, allocations: 0.6876 MB / 1.113 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.8243, allocations: 0 / 1.113 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of Templates: time 0.003537/0.8278, allocations: 1.183 MB / 1.114 GB, free: 3.477 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)