Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.237/1.237, allocations: 249.4 MB / 256.7 MB, free: 6.984 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.001178/0.001178, allocations: 188.3 kB / 316 MB, free: 3.57 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.265/1.265, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009109/0.0009109, allocations: 87.89 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3894/0.3903, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.5825, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5295/1.112, allocations: 131.8 MB / 1.013 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/1.112, allocations: 77.08 kB / 1.013 GB, free: 6.797 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.006233/1.119, allocations: 1.86 MB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.119, allocations: 15.94 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/1.119, allocations: 0 / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/1.119, allocations: 159.1 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/1.119, allocations: 7.984 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/1.119, allocations: 7.906 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.368e-05/1.119, allocations: 3.938 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.616e-05/1.119, allocations: 37.48 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/1.119, allocations: 0 / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/1.119, allocations: 0 / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/1.119, allocations: 4 kB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/1.119, allocations: 130.2 kB / 1.016 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.292e-05/1.119, allocations: 25.92 kB / 1.016 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/1.119, allocations: 8.922 kB / 1.016 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005562/1.12, allocations: 0.5778 MB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/1.12, allocations: 34.47 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/1.12, allocations: 0 / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000526/1.12, allocations: 245.4 kB / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/1.12, allocations: 55.34 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.787e-05/1.121, allocations: 97.16 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/1.121, allocations: 25.7 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.635e-05/1.121, allocations: 82.7 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/1.121, allocations: 7.844 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/1.121, allocations: 0 / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.089e-05/1.121, allocations: 318.8 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/1.121, allocations: 3.188 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.413e-05/1.121, allocations: 21.66 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.328e-05/1.121, allocations: 11.56 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/1.121, allocations: 0 / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.853e-05/1.121, allocations: 49.59 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/1.121, allocations: 4 kB / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/1.121, allocations: 0 / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/1.121, allocations: 0 / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.942e-05/1.121, allocations: 11.94 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/1.121, allocations: 0.9375 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/1.121, allocations: 8 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/1.121, allocations: 4 kB / 1.017 GB, free: 2.887 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 6.379e-05/1.121, allocations: 112.8 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-06/1.121, allocations: 0 / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/1.121, allocations: 56.98 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/1.121, allocations: 0 / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.121, allocations: 0 / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.121, allocations: 0 / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.804e-05/1.121, allocations: 142.1 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.121, allocations: 0 / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.812e-05/1.121, allocations: 8 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.121, allocations: 0 / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/1.121, allocations: 3.938 kB / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/1.121, allocations: 4 kB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.121, allocations: 3.984 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001321/1.122, allocations: 75.72 kB / 1.017 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002127/1.122, allocations: 467.7 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/1.122, allocations: 77.11 kB / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/1.122, allocations: 0 / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.714e-05/1.122, allocations: 4 kB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/1.122, allocations: 8.016 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/1.122, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.336e-05/1.122, allocations: 87.52 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007555/1.123, allocations: 39.84 kB / 1.018 GB, free: 1.738 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.0002147/1.123, allocations: 127.2 kB / 1.018 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.811e-05/1.123, allocations: 23.05 kB / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.123, allocations: 0 / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-05/1.123, allocations: 7.938 kB / 1.018 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.828e-05/1.123, allocations: 4 kB / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001892/1.123, allocations: 76.05 kB / 1.018 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/1.124, allocations: 0.6915 MB / 1.019 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/1.124, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)