Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",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 10.0.0-master/package.mo): time 1.904/1.904, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.0009851/0.0009852, allocations: 186.8 kB / 490.8 MB, free: 1.961 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.194/1.194, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008437/0.0008438, allocations: 95.19 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4407/0.4416, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.6454, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5309/1.176, allocations: 150 MB / 1.358 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/1.177, allocations: 77.98 kB / 1.358 GB, free: 17.36 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.012/1.189, allocations: 4.239 MB / 1.362 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/1.189, allocations: 13.03 kB / 1.362 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002874/1.189, allocations: 64.34 kB / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/1.189, allocations: 173.2 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/1.189, allocations: 1.062 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/1.189, allocations: 9.188 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.088e-05/1.189, allocations: 20.83 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.182e-05/1.189, allocations: 48.2 kB / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/1.189, allocations: 0 / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/1.189, allocations: 0 / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/1.189, allocations: 2.828 kB / 1.363 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/1.189, allocations: 147.9 kB / 1.363 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.853e-05/1.189, allocations: 39.83 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/1.189, allocations: 16.8 kB / 1.363 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/1.189, allocations: 1.25 kB / 1.363 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/1.19, allocations: 42.91 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/1.19, allocations: 1.25 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.002633/1.192, allocations: 499.6 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.795e-05/1.192, allocations: 56.19 kB / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/1.192, allocations: 106.7 kB / 1.364 GB, free: 32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/1.192, allocations: 25.7 kB / 1.364 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/1.192, allocations: 89.33 kB / 1.364 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/1.192, allocations: 25.02 kB / 1.364 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/1.192, allocations: 0 / 1.364 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.99e-05/1.192, allocations: 322.9 kB / 1.364 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.993e-05/1.193, allocations: 35.53 kB / 1.364 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/1.193, allocations: 41.17 kB / 1.364 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/1.193, allocations: 55.34 kB / 1.364 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/1.193, allocations: 1.125 kB / 1.364 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000324/1.193, allocations: 155.4 kB / 1.364 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/1.193, allocations: 8.688 kB / 1.364 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/1.193, allocations: 1.031 kB / 1.364 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/1.193, allocations: 0 / 1.364 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/1.194, allocations: 73.58 kB / 1.364 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/1.194, allocations: 1.219 kB / 1.364 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/1.194, allocations: 55.94 kB / 1.364 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/1.194, allocations: 8.922 kB / 1.364 GB, free: 31.49 MB / 0.8386 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 (9): * Single equations (assignments): 9 * 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 7.69e-05/1.194, allocations: 108 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/1.194, allocations: 6.75 kB / 1.364 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/1.194, allocations: 11.31 kB / 1.365 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.194, allocations: 5.062 kB / 1.365 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.194, allocations: 1.406 kB / 1.365 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.194, allocations: 3.906 kB / 1.365 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/1.195, allocations: 0.5145 MB / 1.365 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.195, allocations: 1.375 kB / 1.365 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/1.196, allocations: 75.11 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/1.196, allocations: 1.062 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/1.196, allocations: 8.578 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/1.196, allocations: 6.422 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.196, allocations: 5.031 kB / 1.365 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003067/1.196, allocations: 270.6 kB / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004122/1.196, allocations: 0.6347 MB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/1.196, allocations: 83.27 kB / 1.366 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/1.196, allocations: 3.609 kB / 1.366 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/1.197, allocations: 48.78 kB / 1.366 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/1.197, allocations: 12.73 kB / 1.366 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/1.197, allocations: 16.75 kB / 1.366 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.857e-05/1.197, allocations: 86.88 kB / 1.366 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000822/1.198, allocations: 43.5 kB / 1.366 GB, free: 30.09 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.000177/1.198, allocations: 121.3 kB / 1.366 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001936/1.198, allocations: 89.23 kB / 1.366 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.198, allocations: 0 / 1.366 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.538e-05/1.198, allocations: 45.58 kB / 1.367 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/1.198, allocations: 1.969 kB / 1.367 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/1.2, allocations: 383 kB / 1.367 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/1.2, allocations: 0.7215 MB / 1.368 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.2, allocations: 4 kB / 1.368 GB, free: 29.15 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat does not exist to compare? outputFormat=mat