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: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 289.8 MB / 297.1 MB, free: 9.035 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.001497/0.001497, allocations: 192.3 kB / 366.3 MB, free: 11.33 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.658/1.658, allocations: 205.1 MB / 0.6256 GB, free: 11.45 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 89.27 kB / 0.7396 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.6656/0.6672, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.9729, allocations: 116.3 MB / 0.9727 GB, free: 31.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8119/1.785, allocations: 138 MB / 1.107 GB, free: 16.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004687/1.785, allocations: 80.81 kB / 1.107 GB, free: 16.27 MB / 0.6823 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.00828/1.794, allocations: 1.859 MB / 1.109 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.383e-05/1.794, allocations: 8.906 kB / 1.109 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/1.794, allocations: 1.5 kB / 1.109 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/1.794, allocations: 165.7 kB / 1.109 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/1.794, allocations: 8.734 kB / 1.109 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/1.794, allocations: 2.469 kB / 1.109 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.136e-05/1.794, allocations: 2.312 kB / 1.109 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/1.794, allocations: 36.36 kB / 1.109 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.794, allocations: 0 / 1.109 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/1.794, allocations: 0.5 kB / 1.109 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/1.794, allocations: 0.5312 kB / 1.109 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/1.795, allocations: 140.3 kB / 1.11 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.503e-05/1.795, allocations: 22.61 kB / 1.11 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.981e-05/1.795, allocations: 8.625 kB / 1.11 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007028/1.796, allocations: 0.5776 MB / 1.11 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/1.796, allocations: 31.66 kB / 1.11 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/1.796, allocations: 0.5938 kB / 1.11 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0008143/1.796, allocations: 240.7 kB / 1.11 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/1.796, allocations: 53.62 kB / 1.111 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/1.797, allocations: 97.42 kB / 1.111 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/1.797, allocations: 26.3 kB / 1.111 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/1.797, allocations: 83.2 kB / 1.111 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/1.797, allocations: 6.938 kB / 1.111 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/1.797, allocations: 4.438 kB / 1.111 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.797, allocations: 320.7 kB / 1.111 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.419e-05/1.797, allocations: 3.094 kB / 1.111 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.39e-05/1.797, allocations: 21.12 kB / 1.111 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.401e-05/1.797, allocations: 13.86 kB / 1.111 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/1.797, allocations: 0.5625 kB / 1.111 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001509/1.797, allocations: 46.7 kB / 1.111 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.797, allocations: 4.906 kB / 1.111 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.797, allocations: 0.625 kB / 1.111 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/1.797, allocations: 1.891 kB / 1.111 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.524e-05/1.797, allocations: 7.672 kB / 1.111 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/1.797, allocations: 5.281 kB / 1.111 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/1.797, allocations: 4 kB / 1.111 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/1.797, allocations: 3.344 kB / 1.111 GB, free: 13.78 MB / 0.6823 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 0.0001099/1.797, allocations: 106.1 kB / 1.111 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/1.797, allocations: 1.156 kB / 1.111 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/1.798, allocations: 59.5 kB / 1.111 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.798, allocations: 0.75 kB / 1.111 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.798, allocations: 0.5 kB / 1.111 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/1.798, allocations: 5.578 kB / 1.111 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/1.798, allocations: 134.5 kB / 1.111 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.798, allocations: 0.625 kB / 1.111 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/1.798, allocations: 6.5 kB / 1.111 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/1.798, allocations: 384 / 1.111 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/1.798, allocations: 1.062 kB / 1.111 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.798, allocations: 0.5625 kB / 1.111 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/1.798, allocations: 0.5312 kB / 1.111 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002141/1.798, allocations: 90.84 kB / 1.112 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003164/1.799, allocations: 463.3 kB / 1.112 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/1.799, allocations: 79.47 kB / 1.112 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/1.799, allocations: 4.906 kB / 1.112 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/1.799, allocations: 4.5 kB / 1.112 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/1.799, allocations: 2.922 kB / 1.112 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/1.799, allocations: 1.094 kB / 1.112 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.562e-05/1.799, allocations: 85.94 kB / 1.112 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008903/1.8, allocations: 37.36 kB / 1.112 GB, free: 12.76 MB / 0.6823 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.0004084/1.8, allocations: 135.9 kB / 1.112 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000124/1.8, allocations: 15.42 kB / 1.112 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.8, allocations: 0 / 1.112 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-05/1.8, allocations: 6 kB / 1.112 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/1.8, allocations: 2.594 kB / 1.112 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/1.801, allocations: 78.12 kB / 1.112 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006011/1.801, allocations: 0.694 MB / 1.113 GB, free: 27.88 MB / 0.698 GB Notification: Performance of SimCode: time 2.9e-07/1.801, allocations: 0 / 1.113 GB, free: 27.88 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_8_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)