Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.496/2.496, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001644/0.001644, allocations: 181.3 kB / 360.3 MB, free: 7.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.1 MB / 0.6187 GB, free: 12.46 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.001264/0.001263, allocations: 92.69 kB / 0.7317 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3204/0.3218, allocations: 121.4 MB / 0.8502 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6906/1.012, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.239/1.251, allocations: 136.8 MB / 1.096 GB, free: 4.02 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003859/1.252, allocations: 79.94 kB / 1.096 GB, free: 3.941 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.01309/1.265, allocations: 1.859 MB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/1.265, allocations: 12.5 kB / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.539e-05/1.265, allocations: 0 / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/1.265, allocations: 170.9 kB / 1.098 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/1.265, allocations: 0 / 1.098 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/1.265, allocations: 4.516 kB / 1.098 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.258e-05/1.266, allocations: 1.562 kB / 1.098 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/1.266, allocations: 29.7 kB / 1.098 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/1.266, allocations: 0 / 1.098 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/1.266, allocations: 4.516 kB / 1.098 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/1.266, allocations: 7.906 kB / 1.098 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/1.266, allocations: 134.2 kB / 1.099 GB, free: 1.656 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.002e-05/1.266, allocations: 22.61 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/1.266, allocations: 8.797 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009075/1.267, allocations: 0.5785 MB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/1.267, allocations: 34.56 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.965e-06/1.267, allocations: 0 / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0007591/1.268, allocations: 246.9 kB / 1.099 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/1.268, allocations: 54 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/1.268, allocations: 89 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/1.268, allocations: 25.7 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/1.268, allocations: 84.14 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/1.268, allocations: 11.8 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-06/1.268, allocations: 4 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.269, allocations: 318.9 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/1.269, allocations: 8 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.909e-05/1.269, allocations: 14.23 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.304e-05/1.269, allocations: 8 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/1.269, allocations: 0 / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001563/1.269, allocations: 49.62 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.269, allocations: 5.094 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.269, allocations: 4.062 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/1.269, allocations: 7.906 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.049e-05/1.269, allocations: 5.312 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.269, allocations: 3.984 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.183e-05/1.269, allocations: 0 / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/1.269, allocations: 5.75 kB / 1.1 GB, free: 15.84 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 8.888e-05/1.269, allocations: 104.8 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/1.269, allocations: 4.656 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/1.269, allocations: 61.22 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.269, allocations: 0.8906 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/1.269, allocations: 0 / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.269, allocations: 0 / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/1.27, allocations: 138.2 kB / 1.1 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.27, allocations: 0 / 1.1 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.808e-05/1.27, allocations: 8 kB / 1.1 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/1.27, allocations: 3.984 kB / 1.1 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/1.27, allocations: 1.406 kB / 1.1 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.27, allocations: 0 / 1.1 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.27, allocations: 3.906 kB / 1.1 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002076/1.27, allocations: 83.16 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003949/1.27, allocations: 462 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/1.271, allocations: 81.02 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/1.271, allocations: 8.078 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/1.271, allocations: 4.125 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/1.271, allocations: 0 / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/1.271, allocations: 0 / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.77e-05/1.271, allocations: 83.89 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001392/1.272, allocations: 39.92 kB / 1.101 GB, free: 14.67 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.0003835/1.273, allocations: 127.2 kB / 1.101 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001349/1.273, allocations: 27.86 kB / 1.101 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.273, allocations: 128 / 1.101 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.393e-05/1.273, allocations: 10.62 kB / 1.101 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/1.273, allocations: 4 kB / 1.101 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/1.273, allocations: 73.59 kB / 1.101 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/1.274, allocations: 0.6876 MB / 1.102 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of SimCode: time 7.91e-07/1.274, allocations: 4 kB / 1.102 GB, free: 13.69 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)