Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.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.Controls.OBC.CDL.Continuous.Validation.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos",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.762/1.762, allocations: 390.4 MB / 397.7 MB, free: 10.67 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.0009914/0.000991, allocations: 176.3 kB / 490.8 MB, free: 11.21 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.13/1.13, allocations: 221.4 MB / 0.7863 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008286/0.0008286, allocations: 95.2 kB / 0.9264 GB, free: 4.562 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2311/0.232, allocations: 149.2 MB / 1.072 GB, free: 15.48 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.518/0.75, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.8904, allocations: 148.8 MB / 1.357 GB, free: 42.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001621/0.8906, allocations: 71.95 kB / 1.357 GB, free: 42.73 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.001614/0.8922, allocations: 0.694 MB / 1.358 GB, free: 42.02 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.8922, allocations: 8 kB / 1.358 GB, free: 42.01 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.8923, allocations: 4.562 kB / 1.358 GB, free: 42 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.901e-05/0.8923, allocations: 167 kB / 1.358 GB, free: 41.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.8924, allocations: 1.062 kB / 1.358 GB, free: 41.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.8924, allocations: 4 kB / 1.358 GB, free: 41.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.702e-05/0.8924, allocations: 11.16 kB / 1.358 GB, free: 41.79 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.069e-05/0.8925, allocations: 37.69 kB / 1.358 GB, free: 41.75 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.8925, allocations: 0.5625 kB / 1.358 GB, free: 41.75 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.8925, allocations: 4.859 kB / 1.358 GB, free: 41.74 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.8925, allocations: 0 / 1.358 GB, free: 41.74 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.8928, allocations: 256.7 kB / 1.358 GB, free: 41.46 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 3.995e-05/0.8929, allocations: 24.05 kB / 1.358 GB, free: 41.43 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.885e-05/0.8929, allocations: 8.922 kB / 1.358 GB, free: 41.41 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.8929, allocations: 3.938 kB / 1.358 GB, free: 41.41 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.893, allocations: 31.75 kB / 1.358 GB, free: 41.37 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.893, allocations: 1.094 kB / 1.358 GB, free: 41.37 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001276/0.8931, allocations: 49.53 kB / 1.358 GB, free: 41.32 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.357e-05/0.8931, allocations: 52.22 kB / 1.358 GB, free: 41.25 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.933e-05/0.8932, allocations: 97 kB / 1.358 GB, free: 41.15 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.633e-06/0.8932, allocations: 26.83 kB / 1.359 GB, free: 41.12 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.429e-05/0.8932, allocations: 80.14 kB / 1.359 GB, free: 41.04 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.8932, allocations: 4.531 kB / 1.359 GB, free: 41.04 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.8932, allocations: 0 / 1.359 GB, free: 41.04 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.469e-05/0.8933, allocations: 319.7 kB / 1.359 GB, free: 40.71 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.8933, allocations: 4 kB / 1.359 GB, free: 40.71 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.043e-05/0.8933, allocations: 4.938 kB / 1.359 GB, free: 40.71 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.495e-05/0.8933, allocations: 4.594 kB / 1.359 GB, free: 40.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.8933, allocations: 4 kB / 1.359 GB, free: 40.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.481e-05/0.8934, allocations: 42.23 kB / 1.359 GB, free: 40.65 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.595e-06/0.8934, allocations: 5.375 kB / 1.359 GB, free: 40.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.8934, allocations: 0 / 1.359 GB, free: 40.65 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.8934, allocations: 0 / 1.359 GB, free: 40.65 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.139e-05/0.8935, allocations: 20.55 kB / 1.359 GB, free: 40.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.8935, allocations: 3.938 kB / 1.359 GB, free: 40.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/0.8936, allocations: 9.672 kB / 1.359 GB, free: 40.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.8936, allocations: 4.562 kB / 1.359 GB, free: 40.62 MB / 0.8855 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 (2): * Single equations (assignments): 2 * 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 3.408e-05/0.8936, allocations: 101.7 kB / 1.359 GB, free: 40.51 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.8937, allocations: 4.625 kB / 1.359 GB, free: 40.51 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.932e-05/0.8937, allocations: 45.56 kB / 1.359 GB, free: 40.46 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.8937, allocations: 4 kB / 1.359 GB, free: 40.46 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.8938, allocations: 0.5312 kB / 1.359 GB, free: 40.46 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8938, allocations: 1.469 kB / 1.359 GB, free: 40.46 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.052e-05/0.8938, allocations: 134.2 kB / 1.359 GB, free: 40.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.8939, allocations: 5.781 kB / 1.359 GB, free: 40.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.547e-05/0.8939, allocations: 13.11 kB / 1.359 GB, free: 40.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.8939, allocations: 1.688 kB / 1.359 GB, free: 40.27 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.8939, allocations: 0 / 1.359 GB, free: 40.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.8939, allocations: 0 / 1.359 GB, free: 40.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.894, allocations: 4 kB / 1.359 GB, free: 40.27 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.652e-05/0.894, allocations: 145.1 kB / 1.359 GB, free: 40.11 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 8.784e-05/0.8941, allocations: 0.5057 MB / 1.36 GB, free: 39.59 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.8941, allocations: 81.02 kB / 1.36 GB, free: 39.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.8942, allocations: 1.031 kB / 1.36 GB, free: 39.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/0.8942, allocations: 12.61 kB / 1.36 GB, free: 39.48 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.8943, allocations: 0.5625 kB / 1.36 GB, free: 39.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.8943, allocations: 5.125 kB / 1.36 GB, free: 39.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.517e-05/0.8943, allocations: 75.28 kB / 1.36 GB, free: 39.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007271/0.895, allocations: 4.594 kB / 1.36 GB, free: 39.4 MB / 0.8855 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 (2): * Single equations (assignments): 2 * 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 8.766e-05/0.8951, allocations: 108.3 kB / 1.36 GB, free: 39.29 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 5.472e-05/0.8952, allocations: 12 kB / 1.36 GB, free: 39.27 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.8952, allocations: 1 kB / 1.36 GB, free: 39.27 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.739e-05/0.8952, allocations: 8 kB / 1.36 GB, free: 39.27 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.8954, allocations: 11.28 kB / 1.36 GB, free: 39.26 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001552/0.8955, allocations: 56.61 kB / 1.36 GB, free: 39.18 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.8957, allocations: 0.6846 MB / 1.361 GB, free: 38.47 MB / 0.8855 GB Notification: Performance of SimCode: time 2.21e-07/0.8957, allocations: 5.5 kB / 1.361 GB, free: 38.46 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat does not exist to compare? outputFormat=mat