Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.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.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",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.779/1.779, allocations: 387.2 MB / 394.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009508/0.0009508, allocations: 184.3 kB / 487 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.128/1.128, allocations: 221.3 MB / 0.7819 GB, free: 6.746 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008525/0.0008525, allocations: 99.86 kB / 0.9213 GB, free: 43.69 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2312/0.2321, allocations: 148.5 MB / 1.066 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5175/0.7496, allocations: 142.3 MB / 1.205 GB, free: 72.7 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.9006, allocations: 148.1 MB / 1.35 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.9009, allocations: 67.95 kB / 1.35 GB, free: 15.12 MB / 0.8542 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.002725/0.9036, allocations: 0.9733 MB / 1.351 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.9037, allocations: 15.94 kB / 1.351 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.9037, allocations: 7.906 kB / 1.351 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.9038, allocations: 175 kB / 1.351 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.9038, allocations: 0 / 1.351 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.9039, allocations: 0 / 1.351 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.452e-05/0.9039, allocations: 16 kB / 1.351 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.095e-05/0.904, allocations: 45.69 kB / 1.351 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.904, allocations: 0.8125 kB / 1.351 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.904, allocations: 3.984 kB / 1.351 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.9041, allocations: 0 / 1.351 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.9045, allocations: 289.3 kB / 1.351 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.012e-05/0.9046, allocations: 30.58 kB / 1.351 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.9046, allocations: 16.86 kB / 1.351 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.9046, allocations: 0 / 1.351 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.9047, allocations: 34.56 kB / 1.352 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.9047, allocations: 2.906 kB / 1.352 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001528/0.9048, allocations: 49.69 kB / 1.352 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.9049, allocations: 55.34 kB / 1.352 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.844e-05/0.9049, allocations: 100.9 kB / 1.352 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.905, allocations: 25.7 kB / 1.352 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.905, allocations: 92.12 kB / 1.352 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.905, allocations: 11.75 kB / 1.352 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.905, allocations: 0 / 1.352 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.9051, allocations: 322.8 kB / 1.352 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.1e-05/0.9052, allocations: 4 kB / 1.352 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.944e-05/0.9052, allocations: 8 kB / 1.352 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.408e-05/0.9052, allocations: 11.98 kB / 1.352 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.9052, allocations: 0 / 1.352 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.822e-05/0.9053, allocations: 49.61 kB / 1.352 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.9053, allocations: 4 kB / 1.352 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.9053, allocations: 0 / 1.352 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.9054, allocations: 5.359 kB / 1.352 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.9055, allocations: 27.98 kB / 1.352 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.9055, allocations: 0 / 1.352 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.874e-05/0.9056, allocations: 23.98 kB / 1.352 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.9056, allocations: 3.938 kB / 1.352 GB, free: 12.59 MB / 0.8542 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 (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 prepare postOptimizeDAE: time 6.054e-05/0.9057, allocations: 101 kB / 1.352 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.9057, allocations: 7.906 kB / 1.352 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.9059, allocations: 57.67 kB / 1.352 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.9059, allocations: 0 / 1.352 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.9059, allocations: 0 / 1.352 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.9059, allocations: 4 kB / 1.352 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.906, allocations: 146.1 kB / 1.353 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.906, allocations: 1.062 kB / 1.353 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.9061, allocations: 23.97 kB / 1.353 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.9061, allocations: 0 / 1.353 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.9062, allocations: 13.31 kB / 1.353 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.9062, allocations: 0 / 1.353 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.9062, allocations: 0 / 1.353 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001086/0.9063, allocations: 147.4 kB / 1.353 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001939/0.9065, allocations: 0.5197 MB / 1.353 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.9065, allocations: 85.52 kB / 1.353 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.9066, allocations: 0 / 1.353 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.9067, allocations: 15.98 kB / 1.353 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.9067, allocations: 11.92 kB / 1.353 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.9067, allocations: 5 kB / 1.353 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.316e-05/0.9068, allocations: 83.28 kB / 1.353 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007368/0.9075, allocations: 8 kB / 1.353 GB, free: 11.27 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001184/0.9076, allocations: 107.2 kB / 1.354 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.141e-05/0.9077, allocations: 20 kB / 1.354 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.9077, allocations: 1.5 kB / 1.354 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.9078, allocations: 12 kB / 1.354 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.9079, allocations: 11.91 kB / 1.354 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.9082, allocations: 74.42 kB / 1.354 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.9084, allocations: 0.7003 MB / 1.354 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of SimCode: time 2.4e-07/0.9084, allocations: 0 / 1.354 GB, free: 10.3 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat does not exist to compare? outputFormat=mat