Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.783/0.783, allocations: 141.8 MB / 149.1 MB, free: 13.07 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 181.7 kB / 181.9 MB, free: 9.773 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 221.4 MB / 436 MB, free: 2.191 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009582/0.0009581, allocations: 101 kB / 0.507 GB, free: 10.94 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001809/0.001809, allocations: 279.7 kB / 0.5884 GB, free: 7.773 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1922/0.194, allocations: 89.65 MB / 0.676 GB, free: 14.04 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.6123, allocations: 82.77 MB / 0.7568 GB, free: 139 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.7325, allocations: 107.6 MB / 0.8619 GB, free: 31.18 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.7328, allocations: 83.92 kB / 0.862 GB, free: 31.1 MB / 0.5575 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.006238/0.739, allocations: 1.87 MB / 0.8638 GB, free: 29.22 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.7391, allocations: 8.656 kB / 0.8638 GB, free: 29.21 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.7391, allocations: 0 / 0.8638 GB, free: 29.21 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.7392, allocations: 167.7 kB / 0.864 GB, free: 29.01 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.7392, allocations: 4 kB / 0.864 GB, free: 29 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.7393, allocations: 0.5 kB / 0.864 GB, free: 29 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.887e-05/0.7393, allocations: 4.438 kB / 0.864 GB, free: 29 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.525e-05/0.7394, allocations: 34.22 kB / 0.864 GB, free: 28.96 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.7394, allocations: 4.812 kB / 0.864 GB, free: 28.96 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.7394, allocations: 0 / 0.864 GB, free: 28.96 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.7395, allocations: 0 / 0.864 GB, free: 28.96 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.7396, allocations: 142.9 kB / 0.8642 GB, free: 28.78 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.552e-05/0.7397, allocations: 19.86 kB / 0.8642 GB, free: 28.75 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.7397, allocations: 8.859 kB / 0.8642 GB, free: 28.74 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004606/0.7402, allocations: 0.5701 MB / 0.8648 GB, free: 28.04 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.7402, allocations: 42.5 kB / 0.8648 GB, free: 27.99 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.7402, allocations: 0 / 0.8648 GB, free: 27.99 MB / 0.5575 GB Notification: Performance of matching and sorting (n=3): time 0.000547/0.7408, allocations: 238.4 kB / 0.865 GB, free: 27.71 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.774e-05/0.7408, allocations: 51.41 kB / 0.8651 GB, free: 27.64 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.123e-05/0.7408, allocations: 97.02 kB / 0.8652 GB, free: 27.54 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.7408, allocations: 25.83 kB / 0.8652 GB, free: 27.51 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 1.517e-05/0.7409, allocations: 88.14 kB / 0.8653 GB, free: 27.42 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.7409, allocations: 11.84 kB / 0.8653 GB, free: 27.41 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.7409, allocations: 3.938 kB / 0.8653 GB, free: 27.41 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 4.444e-05/0.741, allocations: 314.8 kB / 0.8656 GB, free: 27.09 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.741, allocations: 8 kB / 0.8656 GB, free: 27.08 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.922e-05/0.741, allocations: 17.7 kB / 0.8656 GB, free: 27.06 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.582e-05/0.741, allocations: 12 kB / 0.8656 GB, free: 27.05 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.7411, allocations: 0 / 0.8656 GB, free: 27.05 MB / 0.5575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.406e-05/0.7412, allocations: 45.69 kB / 0.8657 GB, free: 27 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.7412, allocations: 4 kB / 0.8657 GB, free: 26.99 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7412, allocations: 0 / 0.8657 GB, free: 26.99 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.7412, allocations: 4 kB / 0.8657 GB, free: 26.99 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.023e-05/0.7413, allocations: 7.938 kB / 0.8657 GB, free: 26.98 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.7413, allocations: 0 / 0.8657 GB, free: 26.98 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.585e-05/0.7413, allocations: 7.906 kB / 0.8657 GB, free: 26.97 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.7413, allocations: 0 / 0.8657 GB, free: 26.97 MB / 0.5575 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 4.478e-05/0.7413, allocations: 105 kB / 0.8658 GB, free: 26.86 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.7414, allocations: 8 kB / 0.8658 GB, free: 26.86 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.7415, allocations: 53.3 kB / 0.8659 GB, free: 26.8 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.7415, allocations: 3.906 kB / 0.8659 GB, free: 26.79 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7415, allocations: 0 / 0.8659 GB, free: 26.79 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.7415, allocations: 4 kB / 0.8659 GB, free: 26.79 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.917e-05/0.7416, allocations: 130.2 kB / 0.866 GB, free: 26.62 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7416, allocations: 4 kB / 0.866 GB, free: 26.62 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.7417, allocations: 11.94 kB / 0.866 GB, free: 26.61 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.7417, allocations: 4 kB / 0.866 GB, free: 26.61 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.7417, allocations: 0 / 0.866 GB, free: 26.61 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7417, allocations: 0 / 0.866 GB, free: 26.61 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7417, allocations: 0 / 0.866 GB, free: 26.61 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00014/0.7418, allocations: 81.03 kB / 0.8661 GB, free: 26.51 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001533/0.742, allocations: 469.5 kB / 0.8665 GB, free: 26.03 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.742, allocations: 81.11 kB / 0.8666 GB, free: 25.93 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.7421, allocations: 0 / 0.8666 GB, free: 25.93 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.686e-05/0.7421, allocations: 3.906 kB / 0.8666 GB, free: 25.93 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.7421, allocations: 0 / 0.8666 GB, free: 25.93 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.7421, allocations: 4.094 kB / 0.8666 GB, free: 25.92 MB / 0.5575 GB Notification: Performance of sort global known variables: time 2.039e-05/0.7422, allocations: 83.27 kB / 0.8667 GB, free: 25.84 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0008438/0.743, allocations: 39.88 kB / 0.8667 GB, free: 25.8 MB / 0.5575 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.0002348/0.7432, allocations: 135.8 kB / 0.8669 GB, free: 25.66 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 7.253e-05/0.7433, allocations: 16 kB / 0.8669 GB, free: 25.64 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7433, allocations: 0 / 0.8669 GB, free: 25.64 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 1.25e-05/0.7433, allocations: 11.94 kB / 0.8669 GB, free: 25.63 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.7435, allocations: 0 / 0.8669 GB, free: 25.63 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.7437, allocations: 71.64 kB / 0.867 GB, free: 25.54 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.7439, allocations: 0.6954 MB / 0.8676 GB, free: 24.82 MB / 0.5575 GB Notification: Performance of SimCode: time 2.4e-07/0.7439, allocations: 4.125 kB / 0.8676 GB, free: 24.81 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)