Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.926/1.926, allocations: 387.2 MB / 394.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 188.2 kB / 487 MB, free: 5.387 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 221.3 MB / 0.7819 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000917/0.000917, allocations: 103.9 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4702/0.4712, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.6803, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5868/1.267, allocations: 150 MB / 1.352 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/1.267, allocations: 79.67 kB / 1.352 GB, free: 15.81 MB / 0.8073 GB 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.01734/1.285, allocations: 5.587 MB / 1.357 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/1.285, allocations: 9.844 kB / 1.357 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003937/1.285, allocations: 73.91 kB / 1.357 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.51e-05/1.285, allocations: 167.1 kB / 1.358 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/1.285, allocations: 2.094 kB / 1.358 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/1.285, allocations: 4.625 kB / 1.358 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000113/1.286, allocations: 39.62 kB / 1.358 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/1.286, allocations: 71.98 kB / 1.358 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/1.286, allocations: 3.906 kB / 1.358 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/1.286, allocations: 1.641 kB / 1.358 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/1.286, allocations: 1.406 kB / 1.358 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/1.286, allocations: 303.6 kB / 1.358 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.817e-05/1.286, allocations: 47.44 kB / 1.358 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/1.286, allocations: 32.98 kB / 1.358 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/1.286, allocations: 5.219 kB / 1.358 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/1.286, allocations: 31.69 kB / 1.358 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/1.286, allocations: 0 / 1.358 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0154/1.302, allocations: 2.181 MB / 1.36 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/1.302, allocations: 53.81 kB / 1.36 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.733e-05/1.302, allocations: 92.95 kB / 1.36 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/1.302, allocations: 26.58 kB / 1.36 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.304e-05/1.302, allocations: 91.11 kB / 1.36 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.558e-05/1.302, allocations: 35.11 kB / 1.36 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/1.302, allocations: 4 kB / 1.36 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.395e-05/1.302, allocations: 318 kB / 1.361 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/1.302, allocations: 113.7 kB / 1.361 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/1.303, allocations: 114.1 kB / 1.361 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/1.303, allocations: 138.5 kB / 1.361 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.303, allocations: 3.906 kB / 1.361 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008367/1.304, allocations: 331.5 kB / 1.361 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.304, allocations: 4.562 kB / 1.361 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.304, allocations: 0 / 1.361 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/1.304, allocations: 0 / 1.361 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009489/1.305, allocations: 133.2 kB / 1.362 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/1.305, allocations: 4 kB / 1.362 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006801/1.306, allocations: 60.17 kB / 1.362 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-05/1.306, allocations: 25.44 kB / 1.362 GB, free: 12.98 MB / 0.8073 GB 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.0001156/1.306, allocations: 108.9 kB / 1.362 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/1.306, allocations: 12.36 kB / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/1.306, allocations: 8.359 kB / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/1.306, allocations: 4 kB / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.306, allocations: 0 / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.306, allocations: 0.6094 kB / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/1.307, allocations: 0.8731 MB / 1.363 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/1.307, allocations: 4.688 kB / 1.363 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009268/1.308, allocations: 124.7 kB / 1.363 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.308, allocations: 4 kB / 1.363 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.097e-05/1.308, allocations: 25.08 kB / 1.363 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.308, allocations: 4.797 kB / 1.363 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.308, allocations: 0 / 1.363 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001137/1.31, allocations: 0.5766 MB / 1.363 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001504/1.311, allocations: 1.115 MB / 1.364 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/1.311, allocations: 113.8 kB / 1.365 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.647e-05/1.311, allocations: 4.516 kB / 1.365 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007728/1.312, allocations: 64.75 kB / 1.365 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.893e-05/1.312, allocations: 26.83 kB / 1.365 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.768e-05/1.312, allocations: 26.05 kB / 1.365 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.138e-05/1.312, allocations: 79.94 kB / 1.365 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009738/1.313, allocations: 56.5 kB / 1.365 GB, free: 10.62 MB / 0.8073 GB 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.0002739/1.314, allocations: 109.8 kB / 1.365 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006764/1.314, allocations: 265.3 kB / 1.365 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.314, allocations: 4 kB / 1.365 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003227/1.315, allocations: 150.1 kB / 1.365 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/1.315, allocations: 7.125 kB / 1.365 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/1.319, allocations: 0.8105 MB / 1.366 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006904/1.32, allocations: 0.8165 MB / 1.367 GB, free: 24.67 MB / 0.823 GB Notification: Performance of SimCode: time 6.21e-07/1.32, allocations: 4 kB / 1.367 GB, free: 24.67 MB / 0.823 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.mat does not exist to compare? outputFormat=mat