Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7275/0.7275, allocations: 127.4 MB / 134.6 MB, free: 4.082 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001362/0.001362, allocations: 192.2 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.1 MB / 399.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 86.3 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3688/0.37, allocations: 82.9 MB / 0.5461 GB, free: 42.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.5581, allocations: 76.74 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5572/1.115, allocations: 101.6 MB / 0.7203 GB, free: 10.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/1.116, allocations: 77.7 kB / 0.7203 GB, free: 10.62 MB / 490.7 MB 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.007299/1.123, allocations: 1.912 MB / 0.7222 GB, free: 8.672 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/1.123, allocations: 12 kB / 0.7222 GB, free: 8.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/1.123, allocations: 0 / 0.7222 GB, free: 8.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/1.123, allocations: 170.9 kB / 0.7224 GB, free: 8.453 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/1.123, allocations: 0 / 0.7224 GB, free: 8.453 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/1.123, allocations: 8 kB / 0.7224 GB, free: 8.445 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.349e-05/1.123, allocations: 1.375 kB / 0.7224 GB, free: 8.445 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.959e-05/1.124, allocations: 37.62 kB / 0.7224 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/1.124, allocations: 0 / 0.7224 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/1.124, allocations: 4 kB / 0.7224 GB, free: 8.398 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.124, allocations: 0 / 0.7224 GB, free: 8.398 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/1.124, allocations: 130.1 kB / 0.7226 GB, free: 8.234 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.81e-05/1.124, allocations: 30.61 kB / 0.7226 GB, free: 8.195 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/1.124, allocations: 4.859 kB / 0.7226 GB, free: 8.188 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006447/1.125, allocations: 0.574 MB / 0.7232 GB, free: 7.484 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/1.125, allocations: 30.56 kB / 0.7232 GB, free: 7.445 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.883e-06/1.125, allocations: 0 / 0.7232 GB, free: 7.445 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0007368/1.125, allocations: 252.9 kB / 0.7234 GB, free: 7.148 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/1.125, allocations: 59.52 kB / 0.7235 GB, free: 7.078 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/1.125, allocations: 89 kB / 0.7236 GB, free: 6.984 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/1.125, allocations: 25.7 kB / 0.7236 GB, free: 6.953 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/1.126, allocations: 80.14 kB / 0.7237 GB, free: 6.871 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/1.126, allocations: 7.906 kB / 0.7237 GB, free: 6.863 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/1.126, allocations: 4 kB / 0.7237 GB, free: 6.859 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/1.126, allocations: 318.7 kB / 0.724 GB, free: 6.539 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/1.126, allocations: 4 kB / 0.724 GB, free: 6.535 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-05/1.126, allocations: 25.66 kB / 0.724 GB, free: 6.504 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.979e-05/1.126, allocations: 4 kB / 0.724 GB, free: 6.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.126, allocations: 0 / 0.724 GB, free: 6.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001186/1.126, allocations: 53.62 kB / 0.7241 GB, free: 6.441 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/1.126, allocations: 4.938 kB / 0.7241 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.126, allocations: 0 / 0.7241 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.126, allocations: 4 kB / 0.7241 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.159e-05/1.126, allocations: 4 kB / 0.7241 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/1.126, allocations: 8 kB / 0.7241 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/1.126, allocations: 3.938 kB / 0.7241 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/1.126, allocations: 5.016 kB / 0.7241 GB, free: 6.418 MB / 490.7 MB 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.077e-05/1.126, allocations: 104.9 kB / 0.7242 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/1.126, allocations: 4 kB / 0.7242 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/1.126, allocations: 57.3 kB / 0.7242 GB, free: 6.242 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/1.126, allocations: 0 / 0.7242 GB, free: 6.242 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.126, allocations: 0 / 0.7242 GB, free: 6.242 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/1.126, allocations: 7.906 kB / 0.7243 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/1.127, allocations: 134.2 kB / 0.7244 GB, free: 6.066 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/1.127, allocations: 0 / 0.7244 GB, free: 6.066 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/1.127, allocations: 8 kB / 0.7244 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.127, allocations: 0 / 0.7244 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/1.127, allocations: 0 / 0.7244 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/1.127, allocations: 3.938 kB / 0.7244 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.127, allocations: 0 / 0.7244 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001673/1.127, allocations: 85.06 kB / 0.7245 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003081/1.127, allocations: 465.4 kB / 0.7249 GB, free: 5.477 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/1.127, allocations: 77.11 kB / 0.725 GB, free: 5.383 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/1.127, allocations: 4 kB / 0.725 GB, free: 5.379 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-05/1.127, allocations: 0 / 0.725 GB, free: 5.379 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/1.127, allocations: 7.984 kB / 0.725 GB, free: 5.371 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/1.127, allocations: 7.938 kB / 0.725 GB, free: 5.363 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.168e-05/1.127, allocations: 79.88 kB / 0.7251 GB, free: 5.285 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008668/1.128, allocations: 39.94 kB / 0.7251 GB, free: 5.246 MB / 490.7 MB 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.0002914/1.129, allocations: 135.2 kB / 0.7253 GB, free: 5.105 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.977e-05/1.129, allocations: 12.14 kB / 0.7253 GB, free: 5.094 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.129, allocations: 0 / 0.7253 GB, free: 5.094 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.593e-05/1.129, allocations: 15.97 kB / 0.7253 GB, free: 5.078 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/1.129, allocations: 10.56 kB / 0.7253 GB, free: 5.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/1.129, allocations: 75 kB / 0.7254 GB, free: 4.977 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003867/1.13, allocations: 0.6915 MB / 0.726 GB, free: 4.262 MB / 490.7 MB Notification: Performance of SimCode: time 3.21e-07/1.13, allocations: 0 / 0.726 GB, free: 4.262 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)