Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.095/2.095, allocations: 248.6 MB / 255.9 MB, free: 7.152 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001639/0.001638, allocations: 173.3 kB / 315.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.2 MB / 0.5658 GB, free: 436 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001765/0.001765, allocations: 91.38 kB / 0.67 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5224/0.5242, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.7376, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6624/1.4, allocations: 131.5 MB / 1.012 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/1.4, allocations: 76.33 kB / 1.012 GB, free: 8.551 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.01078/1.411, allocations: 1.863 MB / 1.014 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/1.411, allocations: 8 kB / 1.014 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/1.411, allocations: 7.906 kB / 1.014 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/1.411, allocations: 159.1 kB / 1.014 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/1.411, allocations: 0 / 1.014 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/1.412, allocations: 7.891 kB / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.57e-05/1.412, allocations: 4 kB / 1.014 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.882e-05/1.412, allocations: 36.58 kB / 1.014 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/1.412, allocations: 0 / 1.014 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/1.412, allocations: 3.938 kB / 1.014 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.412, allocations: 0 / 1.014 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/1.412, allocations: 136.9 kB / 1.014 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.461e-05/1.412, allocations: 18.61 kB / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/1.412, allocations: 8.922 kB / 1.014 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00088/1.413, allocations: 0.5735 MB / 1.015 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/1.413, allocations: 42.55 kB / 1.015 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.224e-06/1.413, allocations: 0 / 1.015 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0007467/1.414, allocations: 240.1 kB / 1.015 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/1.414, allocations: 55.41 kB / 1.015 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/1.414, allocations: 88.91 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/1.414, allocations: 25.7 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/1.414, allocations: 89.95 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/1.414, allocations: 8.031 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/1.414, allocations: 0 / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.414, allocations: 314.8 kB / 1.016 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.453e-05/1.414, allocations: 7.5 kB / 1.016 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.653e-05/1.414, allocations: 13.72 kB / 1.016 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.053e-05/1.414, allocations: 11.81 kB / 1.016 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/1.414, allocations: 0 / 1.016 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001605/1.415, allocations: 53.53 kB / 1.016 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.415, allocations: 15.06 kB / 1.016 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.415, allocations: 1.125 kB / 1.016 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/1.415, allocations: 0 / 1.016 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.489e-05/1.415, allocations: 8 kB / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/1.415, allocations: 0 / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/1.415, allocations: 3.812 kB / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/1.415, allocations: 0 / 1.016 GB, free: 4.66 MB / 0.6355 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 9.018e-05/1.415, allocations: 113 kB / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/1.415, allocations: 7.906 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/1.415, allocations: 53.7 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.415, allocations: 0 / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.415, allocations: 0 / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.415, allocations: 4.031 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/1.415, allocations: 138.1 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.415, allocations: 0.6875 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.097e-05/1.415, allocations: 7.875 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/1.415, allocations: 0 / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/1.415, allocations: 8 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/1.415, allocations: 0.875 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.415, allocations: 0 / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002241/1.416, allocations: 80.33 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003575/1.416, allocations: 464.3 kB / 1.017 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/1.416, allocations: 81.17 kB / 1.017 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/1.416, allocations: 0 / 1.017 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.384e-05/1.416, allocations: 2.312 kB / 1.017 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/1.416, allocations: 8.078 kB / 1.017 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/1.416, allocations: 0 / 1.017 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.23e-05/1.416, allocations: 82.09 kB / 1.017 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001156/1.418, allocations: 39.84 kB / 1.017 GB, free: 3.512 MB / 0.6355 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.0003542/1.418, allocations: 135.1 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001088/1.418, allocations: 15.31 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.418, allocations: 0 / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.047e-05/1.418, allocations: 11.98 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/1.418, allocations: 0 / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/1.419, allocations: 87.61 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003516/1.419, allocations: 0.6876 MB / 1.018 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/1.419, allocations: 0 / 1.018 GB, free: 2.527 MB / 0.6355 GB