Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",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 8.1.4-maint.8.1.x/package.mo): time 1.393/1.393, allocations: 289.8 MB / 297.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009491/0.0009494, allocations: 177.3 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.097/1.097, allocations: 205.1 MB / 0.6256 GB, free: 5.848 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008013/0.0008013, allocations: 84.77 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1996/0.2004, allocations: 122.5 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5288/0.7293, allocations: 116.3 MB / 0.9727 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.8879, allocations: 138.1 MB / 1.108 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.8882, allocations: 71.95 kB / 1.108 GB, free: 3.824 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.009628/0.8978, allocations: 3.743 MB / 1.111 GB, free: 36 kB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.8979, allocations: 12 kB / 1.111 GB, free: 24 kB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.8979, allocations: 15.81 kB / 1.111 GB, free: 8 kB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.8981, allocations: 206.7 kB / 1.111 GB, free: 15.77 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.8981, allocations: 8 kB / 1.111 GB, free: 15.76 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.8981, allocations: 4 kB / 1.111 GB, free: 15.75 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001599/0.8983, allocations: 79.92 kB / 1.112 GB, free: 15.68 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.8985, allocations: 109.6 kB / 1.112 GB, free: 15.56 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.8985, allocations: 3.938 kB / 1.112 GB, free: 15.56 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.8985, allocations: 0 / 1.112 GB, free: 15.56 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.8985, allocations: 4 kB / 1.112 GB, free: 15.55 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008707/0.8994, allocations: 0.5047 MB / 1.112 GB, free: 15.01 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.8995, allocations: 77.16 kB / 1.112 GB, free: 14.93 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.471e-05/0.8996, allocations: 68.84 kB / 1.112 GB, free: 14.86 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.8996, allocations: 4 kB / 1.112 GB, free: 14.86 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.8996, allocations: 34.47 kB / 1.112 GB, free: 14.81 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 2.385e-06/0.8997, allocations: 0 / 1.112 GB, free: 14.81 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0003224/0.9, allocations: 177.4 kB / 1.113 GB, free: 14.63 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.9, allocations: 51.41 kB / 1.113 GB, free: 14.57 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.168e-05/0.9001, allocations: 128.9 kB / 1.113 GB, free: 14.44 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.9001, allocations: 25.7 kB / 1.113 GB, free: 14.41 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.9002, allocations: 108.3 kB / 1.113 GB, free: 14.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.9002, allocations: 43.36 kB / 1.113 GB, free: 14.25 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.9002, allocations: 0 / 1.113 GB, free: 14.25 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.888e-05/0.9003, allocations: 322.8 kB / 1.113 GB, free: 13.93 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.697e-05/0.9004, allocations: 55.98 kB / 1.113 GB, free: 13.88 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/0.9005, allocations: 51.98 kB / 1.113 GB, free: 13.82 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.9006, allocations: 67.91 kB / 1.113 GB, free: 13.76 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.9006, allocations: 0 / 1.113 GB, free: 13.76 MB / 0.823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002469/0.9009, allocations: 168.4 kB / 1.113 GB, free: 13.59 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.9009, allocations: 4 kB / 1.113 GB, free: 13.59 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.9009, allocations: 3.984 kB / 1.113 GB, free: 13.58 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.9009, allocations: 3.938 kB / 1.114 GB, free: 13.58 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.9012, allocations: 63.95 kB / 1.114 GB, free: 13.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.9012, allocations: 0 / 1.114 GB, free: 13.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.9014, allocations: 55.8 kB / 1.114 GB, free: 13.46 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.9014, allocations: 4 kB / 1.114 GB, free: 13.46 MB / 0.823 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.137e-05/0.9015, allocations: 101 kB / 1.114 GB, free: 13.35 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.9016, allocations: 19.81 kB / 1.114 GB, free: 13.33 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.9019, allocations: 198.1 kB / 1.114 GB, free: 13.13 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.9019, allocations: 4 kB / 1.114 GB, free: 13.12 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.9019, allocations: 0 / 1.114 GB, free: 13.12 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.9019, allocations: 3.938 kB / 1.114 GB, free: 13.12 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.9022, allocations: 221.9 kB / 1.114 GB, free: 12.87 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.9022, allocations: 0 / 1.114 GB, free: 12.87 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.9024, allocations: 63.95 kB / 1.114 GB, free: 12.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.9025, allocations: 0 / 1.114 GB, free: 12.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.9025, allocations: 0 / 1.114 GB, free: 12.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9025, allocations: 0 / 1.114 GB, free: 12.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9025, allocations: 0 / 1.114 GB, free: 12.8 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003436/0.9028, allocations: 271.2 kB / 1.114 GB, free: 12.52 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005133/0.9034, allocations: 0.6513 MB / 1.115 GB, free: 11.86 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/0.9034, allocations: 88.92 kB / 1.115 GB, free: 11.75 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.9035, allocations: 3.938 kB / 1.115 GB, free: 11.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.9037, allocations: 51.95 kB / 1.115 GB, free: 11.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.9038, allocations: 11.98 kB / 1.115 GB, free: 11.68 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.9038, allocations: 11.98 kB / 1.115 GB, free: 11.67 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.132e-05/0.9039, allocations: 100.9 kB / 1.115 GB, free: 11.57 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009038/0.9048, allocations: 47.83 kB / 1.115 GB, free: 11.53 MB / 0.823 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001753/0.905, allocations: 115.2 kB / 1.116 GB, free: 11.41 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.9052, allocations: 207.3 kB / 1.116 GB, free: 11.19 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9052, allocations: 0 / 1.116 GB, free: 11.19 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.9054, allocations: 135.4 kB / 1.116 GB, free: 11.05 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.9056, allocations: 20.3 kB / 1.116 GB, free: 11.03 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.9061, allocations: 215.2 kB / 1.116 GB, free: 10.79 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/0.9065, allocations: 0.7389 MB / 1.117 GB, free: 10.02 MB / 0.823 GB Notification: Performance of SimCode: time 2.71e-07/0.9065, allocations: 0 / 1.117 GB, free: 10.02 MB / 0.823 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)