Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.001157/0.001157, allocations: 191.8 kB / 7.807 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4849/0.4849, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.381/1.381, allocations: 221.4 MB / 342.8 MB, free: 5.219 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.0009386/0.0009386, allocations: 93.08 kB / 415.5 MB, free: 6.465 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.185/0.186, allocations: 78.46 MB / 494 MB, free: 8.008 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.5924, allocations: 72.31 MB / 0.553 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1212/0.7136, allocations: 102.2 MB / 0.6528 GB, free: 7.797 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.7139, allocations: 79.94 kB / 0.6529 GB, free: 7.719 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01816/0.7321, allocations: 5.582 MB / 0.6584 GB, free: 2.156 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.7322, allocations: 10.25 kB / 0.6584 GB, free: 2.148 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004468/0.7326, allocations: 79.83 kB / 0.6585 GB, free: 2.07 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.7328, allocations: 159.1 kB / 0.6586 GB, free: 1.875 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.7328, allocations: 4 kB / 0.6586 GB, free: 1.871 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.7329, allocations: 11.91 kB / 0.6586 GB, free: 1.859 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001436/0.733, allocations: 35.98 kB / 0.6587 GB, free: 1.824 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.7332, allocations: 79.22 kB / 0.6587 GB, free: 1.742 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.7332, allocations: 0 / 0.6587 GB, free: 1.742 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.7333, allocations: 0 / 0.6587 GB, free: 1.742 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.7333, allocations: 0 / 0.6587 GB, free: 1.742 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000724/0.734, allocations: 309.1 kB / 0.659 GB, free: 1.402 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.7341, allocations: 53.64 kB / 0.6591 GB, free: 1.344 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.7342, allocations: 24.8 kB / 0.6591 GB, free: 1.316 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.7342, allocations: 0 / 0.6591 GB, free: 1.316 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.7343, allocations: 38.56 kB / 0.6591 GB, free: 1.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.7343, allocations: 0 / 0.6591 GB, free: 1.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.01608/0.7504, allocations: 2.182 MB / 0.6613 GB, free: 15 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.7505, allocations: 51.41 kB / 0.6613 GB, free: 14.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.7506, allocations: 89 kB / 0.6614 GB, free: 14.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.655e-05/0.7506, allocations: 25.7 kB / 0.6614 GB, free: 14.81 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.7507, allocations: 90.48 kB / 0.6615 GB, free: 14.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.354e-05/0.7508, allocations: 43.3 kB / 0.6616 GB, free: 14.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.7508, allocations: 0 / 0.6616 GB, free: 14.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7509, allocations: 318.8 kB / 0.6619 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.7512, allocations: 115.9 kB / 0.662 GB, free: 14.24 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.7514, allocations: 107.9 kB / 0.6621 GB, free: 14.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.7518, allocations: 131.9 kB / 0.6622 GB, free: 14.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.7519, allocations: 7.938 kB / 0.6622 GB, free: 14 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009362/0.7528, allocations: 338.6 kB / 0.6625 GB, free: 13.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.7528, allocations: 4 kB / 0.6625 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.7528, allocations: 0 / 0.6625 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.7529, allocations: 8 kB / 0.6625 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.7539, allocations: 123.7 kB / 0.6627 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.7539, allocations: 0 / 0.6627 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007762/0.7547, allocations: 63.94 kB / 0.6627 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.403e-05/0.7548, allocations: 19.94 kB / 0.6627 GB, free: 13.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001569/0.755, allocations: 105 kB / 0.6628 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.037e-05/0.7551, allocations: 9.203 kB / 0.6628 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.7551, allocations: 16.25 kB / 0.6629 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.7551, allocations: 3.984 kB / 0.6629 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7551, allocations: 0 / 0.6629 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.7551, allocations: 3.906 kB / 0.6629 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.7568, allocations: 0.8885 MB / 0.6637 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.7568, allocations: 7.984 kB / 0.6637 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.7578, allocations: 119.8 kB / 0.6639 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.7578, allocations: 7 kB / 0.6639 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.02e-05/0.7579, allocations: 27.84 kB / 0.6639 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.7579, allocations: 1.062 kB / 0.6639 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7579, allocations: 0 / 0.6639 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001349/0.7593, allocations: 0.5792 MB / 0.6645 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001811/0.7611, allocations: 1.109 MB / 0.6655 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.7613, allocations: 117 kB / 0.6657 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-05/0.7614, allocations: 4 kB / 0.6657 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008158/0.7622, allocations: 59.94 kB / 0.6657 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.7624, allocations: 27.92 kB / 0.6657 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.63e-05/0.7625, allocations: 30.17 kB / 0.6658 GB, free: 10.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.567e-05/0.7625, allocations: 83.28 kB / 0.6659 GB, free: 10.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001161/0.7637, allocations: 59.84 kB / 0.6659 GB, free: 10.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002982/0.764, allocations: 113.4 kB / 0.666 GB, free: 9.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000736/0.7647, allocations: 267.9 kB / 0.6663 GB, free: 9.668 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7648, allocations: 0 / 0.6663 GB, free: 9.668 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.7651, allocations: 147.8 kB / 0.6664 GB, free: 9.523 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.7654, allocations: 8 kB / 0.6664 GB, free: 9.516 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004849/0.7702, allocations: 0.796 MB / 0.6672 GB, free: 8.695 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008094/0.7711, allocations: 0.8166 MB / 0.668 GB, free: 7.852 MB / 490.7 MB Notification: Performance of SimCode: time 8.52e-07/0.7711, allocations: 0 / 0.668 GB, free: 7.852 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)