Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Logical.Validation.Xor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",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.362/1.362, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.0009411/0.0009413, allocations: 173.3 kB / 366.3 MB, free: 2 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.066/1.066, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0007823/0.0007822, allocations: 88.3 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1989/0.1997, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4595/0.6592, allocations: 116.3 MB / 0.9727 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.8003, allocations: 138.3 MB / 1.108 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/0.8005, allocations: 71.89 kB / 1.108 GB, free: 10.12 MB / 0.7136 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.008543/0.8091, allocations: 3.017 MB / 1.111 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.8091, allocations: 12 kB / 1.111 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.13e-05/0.8092, allocations: 8 kB / 1.111 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.8093, allocations: 163.7 kB / 1.111 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.8093, allocations: 4 kB / 1.111 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.8094, allocations: 8 kB / 1.111 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.245e-05/0.8095, allocations: 16 kB / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.012e-05/0.8095, allocations: 45.67 kB / 1.111 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.8095, allocations: 0 / 1.111 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.8096, allocations: 8.484 kB / 1.111 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.8096, allocations: 7.906 kB / 1.111 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.81, allocations: 333.4 kB / 1.111 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.212e-05/0.8101, allocations: 30.58 kB / 1.111 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.8101, allocations: 16.86 kB / 1.111 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.8101, allocations: 3.906 kB / 1.111 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.001e-05/0.8102, allocations: 72.52 kB / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.8102, allocations: 3.938 kB / 1.111 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001743/0.8104, allocations: 72.48 kB / 1.111 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.8104, allocations: 51.41 kB / 1.112 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.403e-05/0.8105, allocations: 113.8 kB / 1.112 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.8106, allocations: 29.7 kB / 1.112 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/0.8106, allocations: 96.17 kB / 1.112 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.8106, allocations: 7.891 kB / 1.112 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.8107, allocations: 4.656 kB / 1.112 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.8108, allocations: 330.7 kB / 1.112 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.8109, allocations: 51.98 kB / 1.112 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.811, allocations: 80.28 kB / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.8113, allocations: 80.52 kB / 1.112 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8113, allocations: 0 / 1.112 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004949/0.8118, allocations: 194.1 kB / 1.112 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.8118, allocations: 4 kB / 1.112 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8118, allocations: 0 / 1.112 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.679e-06/0.8119, allocations: 12.72 kB / 1.112 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.839e-05/0.8119, allocations: 7.984 kB / 1.112 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.8119, allocations: 0 / 1.112 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.8122, allocations: 75.94 kB / 1.113 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.8123, allocations: 11.98 kB / 1.113 GB, free: 4.98 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.398e-05/0.8123, allocations: 117.6 kB / 1.113 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.8124, allocations: 4 kB / 1.113 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.8124, allocations: 9.312 kB / 1.113 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.8124, allocations: 0 / 1.113 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.8124, allocations: 0 / 1.113 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8124, allocations: 4 kB / 1.113 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.76e-05/0.8125, allocations: 158.1 kB / 1.113 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.8125, allocations: 0 / 1.113 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.346e-06/0.8125, allocations: 0 / 1.113 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.8125, allocations: 4 kB / 1.113 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.8126, allocations: 4 kB / 1.113 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.8126, allocations: 4.062 kB / 1.113 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8126, allocations: 0 / 1.113 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001135/0.8127, allocations: 101.5 kB / 1.113 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001877/0.8129, allocations: 481.4 kB / 1.113 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.8129, allocations: 85 kB / 1.113 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.8129, allocations: 0 / 1.113 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.813, allocations: 0 / 1.113 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.813, allocations: 7.984 kB / 1.113 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.813, allocations: 9.906 kB / 1.114 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.55e-05/0.8131, allocations: 91.28 kB / 1.114 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007776/0.8139, allocations: 35.98 kB / 1.114 GB, free: 3.785 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.y) * 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: 0 * When equations: 2 * 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.0001323/0.814, allocations: 111.2 kB / 1.114 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.8142, allocations: 159.3 kB / 1.114 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.8142, allocations: 0 / 1.114 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.693e-05/0.8143, allocations: 20 kB / 1.114 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.8145, allocations: 23.56 kB / 1.114 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002224/0.8147, allocations: 95.48 kB / 1.114 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.8149, allocations: 0.7036 MB / 1.115 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.8149, allocations: 0 / 1.115 GB, free: 2.613 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)