Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.243/1.243, allocations: 249.4 MB / 256.7 MB, free: 7.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000945/0.000945, allocations: 184.5 kB / 316 MB, free: 3.57 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.165/1.165, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009026/0.0009026, allocations: 86.34 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3552/0.3561, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.5252, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.518/1.043, allocations: 131.7 MB / 1.013 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/1.043, allocations: 75.55 kB / 1.013 GB, free: 6.875 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002826/1.046, allocations: 0.9606 MB / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/1.046, allocations: 12 kB / 1.014 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/1.046, allocations: 7.531 kB / 1.014 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/1.047, allocations: 170.9 kB / 1.014 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/1.047, allocations: 4 kB / 1.014 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/1.047, allocations: 0 / 1.014 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.366e-05/1.047, allocations: 23.73 kB / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.45e-05/1.047, allocations: 49.05 kB / 1.015 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/1.047, allocations: 7.938 kB / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/1.047, allocations: 0 / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/1.047, allocations: 3.938 kB / 1.015 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/1.047, allocations: 251.8 kB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.22e-05/1.047, allocations: 42.06 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/1.047, allocations: 19.73 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/1.047, allocations: 4 kB / 1.015 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.966e-05/1.047, allocations: 64.59 kB / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/1.047, allocations: 0 / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001712/1.048, allocations: 64.84 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/1.048, allocations: 55.47 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.814e-05/1.048, allocations: 110 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/1.048, allocations: 25.7 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.721e-05/1.048, allocations: 91.36 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/1.048, allocations: 7.906 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/1.048, allocations: 0 / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.048, allocations: 322 kB / 1.016 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/1.048, allocations: 15.19 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.921e-05/1.048, allocations: 29.77 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.694e-05/1.048, allocations: 15.5 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/1.048, allocations: 0 / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001219/1.048, allocations: 71.8 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/1.048, allocations: 4 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.048, allocations: 0 / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/1.048, allocations: 11.92 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.202e-05/1.048, allocations: 4 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/1.048, allocations: 0 / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.726e-05/1.048, allocations: 20.05 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/1.048, allocations: 7.984 kB / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,xor1.y) * 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.273e-05/1.049, allocations: 104.5 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/1.049, allocations: 7.906 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/1.049, allocations: 8.062 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.049, allocations: 4 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.049, allocations: 4 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.049, allocations: 7.891 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/1.049, allocations: 153.3 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.049, allocations: 0 / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.045e-05/1.049, allocations: 3.938 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.049, allocations: 4 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/1.049, allocations: 0.875 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.049, allocations: 3.984 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.049, allocations: 4.406 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001213/1.049, allocations: 95.64 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002143/1.049, allocations: 468 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/1.049, allocations: 88.95 kB / 1.017 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/1.049, allocations: 4.484 kB / 1.017 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.747e-05/1.049, allocations: 15.98 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/1.049, allocations: 19.52 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/1.049, allocations: 4 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.25e-05/1.049, allocations: 86.78 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007269/1.05, allocations: 15.98 kB / 1.017 GB, free: 3.262 MB / 0.6355 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0001177/1.05, allocations: 95.25 kB / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001055/1.05, allocations: 46.56 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.05, allocations: 2.562 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.711e-05/1.051, allocations: 18.31 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/1.051, allocations: 16.75 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/1.051, allocations: 90.7 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/1.051, allocations: 0.6998 MB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/1.051, allocations: 0 / 1.018 GB, free: 2.266 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)