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: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.37/1.37, allocations: 285.5 MB / 292.8 MB, free: 10.39 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.001149/0.001149, allocations: 177.3 kB / 361.1 MB, free: 7.09 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.233/1.233, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0008438/0.0008438, allocations: 87.97 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2483/0.2492, allocations: 121.4 MB / 0.8511 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5589/0.8082, allocations: 115.3 MB / 0.9638 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.9804, allocations: 137 MB / 1.098 GB, free: 2.961 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.9807, allocations: 76.7 kB / 1.098 GB, free: 2.887 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.006633/0.9874, allocations: 1.858 MB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.9874, allocations: 10.09 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.9875, allocations: 4 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.9877, allocations: 163.7 kB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.9877, allocations: 0 / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.9877, allocations: 10.23 kB / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.118e-05/0.9878, allocations: 0 / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.502e-05/0.9878, allocations: 33.69 kB / 1.1 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.9879, allocations: 2.688 kB / 1.1 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.9879, allocations: 0 / 1.1 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.9879, allocations: 7.906 kB / 1.1 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.988, allocations: 134.2 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.72e-05/0.9881, allocations: 22.59 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.9881, allocations: 8.922 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005591/0.9887, allocations: 0.5783 MB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.9887, allocations: 34.5 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.9887, allocations: 0 / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0005922/0.9893, allocations: 247 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.9894, allocations: 57.75 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.049e-05/0.9895, allocations: 93.55 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.9895, allocations: 29.64 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.9895, allocations: 84.14 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.9895, allocations: 7.812 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.9896, allocations: 0 / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.9897, allocations: 322.8 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.9897, allocations: 4 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.686e-05/0.9897, allocations: 13.72 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.616e-05/0.9898, allocations: 11.98 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.9898, allocations: 0 / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001064/0.9899, allocations: 45.7 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.9899, allocations: 7.938 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.9899, allocations: 8.047 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.9899, allocations: 3.906 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/0.99, allocations: 8.562 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.99, allocations: 0 / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.99, allocations: 0 / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.9901, allocations: 4 kB / 1.101 GB, free: 14.8 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.5e-05/0.9901, allocations: 101 kB / 1.101 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.998e-06/0.9901, allocations: 0 / 1.101 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.9903, allocations: 61.89 kB / 1.101 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.9903, allocations: 3.984 kB / 1.101 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.9903, allocations: 0 / 1.101 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9903, allocations: 3.938 kB / 1.101 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.205e-05/0.9904, allocations: 135.5 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9905, allocations: 0 / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.9905, allocations: 4 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.9905, allocations: 4.75 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.9905, allocations: 0 / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.9905, allocations: 0 / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.9905, allocations: 3.906 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001382/0.9907, allocations: 77.12 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002924/0.991, allocations: 471.9 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.991, allocations: 81.86 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.9911, allocations: 0 / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.749e-05/0.9911, allocations: 4.125 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/0.9911, allocations: 4 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.9911, allocations: 0 / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.514e-05/0.9912, allocations: 83.28 kB / 1.102 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008473/0.992, allocations: 40.48 kB / 1.102 GB, free: 13.63 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.0002503/0.9923, allocations: 135.6 kB / 1.102 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.005e-05/0.9924, allocations: 19.94 kB / 1.102 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9924, allocations: 0 / 1.102 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.317e-05/0.9924, allocations: 12.06 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.9925, allocations: 6.812 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/0.9927, allocations: 68.98 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.993, allocations: 0.6915 MB / 1.103 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.993, allocations: 4 kB / 1.103 GB, free: 12.65 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)