Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 185.4 kB / 7.801 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4696/0.4696, allocations: 90.84 MB / 99.06 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 221.4 MB / 342.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009707/0.0009708, allocations: 96.5 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.202/0.203, allocations: 78.45 MB / 494 MB, free: 7.969 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.6572, allocations: 72.31 MB / 0.553 GB, free: 73.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.7853, allocations: 100.5 MB / 0.6511 GB, free: 9.492 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.7857, allocations: 75.95 kB / 0.6512 GB, free: 9.418 MB / 474.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.007449/0.7931, allocations: 1.863 MB / 0.653 GB, free: 7.555 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/0.7932, allocations: 13.12 kB / 0.653 GB, free: 7.543 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.7933, allocations: 5.406 kB / 0.653 GB, free: 7.539 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.7935, allocations: 167.1 kB / 0.6532 GB, free: 7.336 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.7935, allocations: 0.5312 kB / 0.6532 GB, free: 7.336 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.7936, allocations: 0.5938 kB / 0.6532 GB, free: 7.336 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.295e-05/0.7937, allocations: 7.906 kB / 0.6532 GB, free: 7.328 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.7938, allocations: 34.55 kB / 0.6533 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.7938, allocations: 0.5625 kB / 0.6533 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.7938, allocations: 0 / 0.6533 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.7938, allocations: 0.5 kB / 0.6533 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.7941, allocations: 139.5 kB / 0.6534 GB, free: 7.117 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.11e-05/0.7942, allocations: 25.3 kB / 0.6534 GB, free: 7.086 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.7942, allocations: 8.922 kB / 0.6534 GB, free: 7.074 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008405/0.7951, allocations: 0.5726 MB / 0.654 GB, free: 6.375 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.7951, allocations: 35.88 kB / 0.654 GB, free: 6.332 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 2.715e-06/0.7951, allocations: 0 / 0.654 GB, free: 6.332 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.001033/0.7962, allocations: 242.9 kB / 0.6542 GB, free: 6.039 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.7963, allocations: 62.41 kB / 0.6543 GB, free: 5.969 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.7964, allocations: 85 kB / 0.6544 GB, free: 5.879 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.7964, allocations: 25.7 kB / 0.6544 GB, free: 5.848 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.7965, allocations: 84.14 kB / 0.6545 GB, free: 5.762 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.7965, allocations: 15.8 kB / 0.6545 GB, free: 5.746 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-06/0.7965, allocations: 0 / 0.6545 GB, free: 5.746 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.7967, allocations: 310.8 kB / 0.6548 GB, free: 5.434 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.7968, allocations: 8.031 kB / 0.6548 GB, free: 5.426 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.816e-05/0.7968, allocations: 17.72 kB / 0.6548 GB, free: 5.402 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.212e-05/0.7969, allocations: 7.984 kB / 0.6548 GB, free: 5.395 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7969, allocations: 4 kB / 0.6548 GB, free: 5.391 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001393/0.797, allocations: 49.55 kB / 0.6549 GB, free: 5.336 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.7971, allocations: 8 kB / 0.6549 GB, free: 5.328 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.7971, allocations: 0 / 0.6549 GB, free: 5.328 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.7971, allocations: 4.062 kB / 0.6549 GB, free: 5.324 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.7972, allocations: 13.67 kB / 0.6549 GB, free: 5.312 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.7972, allocations: 0 / 0.6549 GB, free: 5.312 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.7973, allocations: 3.938 kB / 0.6549 GB, free: 5.309 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.7973, allocations: 0 / 0.6549 GB, free: 5.309 MB / 474.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 0.0001154/0.7974, allocations: 105 kB / 0.655 GB, free: 5.199 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.7974, allocations: 3.906 kB / 0.655 GB, free: 5.195 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.7976, allocations: 61.16 kB / 0.6551 GB, free: 5.129 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.7976, allocations: 4.047 kB / 0.6551 GB, free: 5.125 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.7977, allocations: 3.984 kB / 0.6551 GB, free: 5.121 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.7977, allocations: 0 / 0.6551 GB, free: 5.121 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.7978, allocations: 134.1 kB / 0.6552 GB, free: 4.953 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.7978, allocations: 0 / 0.6552 GB, free: 4.953 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.229e-05/0.7979, allocations: 11.98 kB / 0.6552 GB, free: 4.941 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.7979, allocations: 0 / 0.6552 GB, free: 4.941 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.7979, allocations: 5.438 kB / 0.6552 GB, free: 4.938 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7979, allocations: 0 / 0.6552 GB, free: 4.938 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7979, allocations: 0 / 0.6552 GB, free: 4.938 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000202/0.7981, allocations: 84.06 kB / 0.6553 GB, free: 4.84 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003457/0.7985, allocations: 465.5 kB / 0.6557 GB, free: 4.363 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.7986, allocations: 81.19 kB / 0.6558 GB, free: 4.266 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.7986, allocations: 0 / 0.6558 GB, free: 4.266 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.7986, allocations: 0 / 0.6558 GB, free: 4.266 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.7987, allocations: 8.125 kB / 0.6558 GB, free: 4.258 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.7987, allocations: 0 / 0.6558 GB, free: 4.258 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.763e-05/0.7987, allocations: 79.28 kB / 0.6559 GB, free: 4.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009489/0.7997, allocations: 35.92 kB / 0.6559 GB, free: 4.145 MB / 474.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.0003121/0.8, allocations: 139.1 kB / 0.6561 GB, free: 3.996 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.087e-05/0.8001, allocations: 15.94 kB / 0.6561 GB, free: 3.98 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8001, allocations: 0 / 0.6561 GB, free: 3.98 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.667e-05/0.8001, allocations: 8.125 kB / 0.6561 GB, free: 3.973 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.8003, allocations: 4 kB / 0.6561 GB, free: 3.969 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.8006, allocations: 76.2 kB / 0.6562 GB, free: 3.871 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/0.801, allocations: 0.6903 MB / 0.6569 GB, free: 3.16 MB / 474.7 MB Notification: Performance of SimCode: time 4.81e-07/0.801, allocations: 0 / 0.6569 GB, free: 3.16 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)