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.Or3.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.Or3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.216/1.216, allocations: 249.4 MB / 256.7 MB, free: 7.023 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.0009378/0.0009378, allocations: 181.3 kB / 316 MB, free: 3.566 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.117/1.117, allocations: 205.1 MB / 0.5667 GB, free: 15.63 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.0009039/0.0009039, allocations: 91.27 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3287/0.3296, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.4901, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4382/0.9283, allocations: 131.7 MB / 1.013 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.9286, allocations: 73.75 kB / 1.013 GB, free: 7.07 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.003486/0.9321, allocations: 1.258 MB / 1.015 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.9321, allocations: 8 kB / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.9322, allocations: 11.81 kB / 1.015 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.9323, allocations: 171 kB / 1.015 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.9323, allocations: 4 kB / 1.015 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.9324, allocations: 4 kB / 1.015 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.165e-05/0.9324, allocations: 34.34 kB / 1.015 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.915e-05/0.9325, allocations: 52.98 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.9325, allocations: 4 kB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.9326, allocations: 4 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.9326, allocations: 0 / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.9329, allocations: 274.3 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.67e-05/0.933, allocations: 45.7 kB / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.933, allocations: 23.47 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.933, allocations: 3.938 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.628e-05/0.9331, allocations: 66.16 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.494e-06/0.9331, allocations: 0 / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0001797/0.9333, allocations: 84.42 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.9334, allocations: 55.39 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.474e-05/0.9334, allocations: 117 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.9335, allocations: 29.69 kB / 1.016 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.9335, allocations: 87.89 kB / 1.016 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.9335, allocations: 22.41 kB / 1.016 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.9336, allocations: 0 / 1.016 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.9337, allocations: 318.7 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.199e-05/0.9337, allocations: 18.38 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.447e-05/0.9338, allocations: 48.94 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.9338, allocations: 26.3 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.9338, allocations: 0 / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001211/0.9339, allocations: 83.66 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.934, allocations: 4 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.934, allocations: 0 / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.934, allocations: 4 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.533e-05/0.9341, allocations: 13.92 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.9341, allocations: 4.188 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.9342, allocations: 27.98 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.9342, allocations: 11.38 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.071e-05/0.9343, allocations: 108.9 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.9343, allocations: 19.88 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.9344, allocations: 15.56 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.9344, allocations: 0 / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.9344, allocations: 4 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.9344, allocations: 0 / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.9345, allocations: 169 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9345, allocations: 0 / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-06/0.9346, allocations: 0 / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.9346, allocations: 4 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.9346, allocations: 3.75 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9346, allocations: 0 / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.9346, allocations: 4.5 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001299/0.9347, allocations: 106.6 kB / 1.017 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002224/0.935, allocations: 486.8 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.935, allocations: 88.19 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.935, allocations: 4 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.9352, allocations: 23.98 kB / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.9352, allocations: 15.97 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.9352, allocations: 7.875 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.429e-05/0.9353, allocations: 94.58 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008031/0.9361, allocations: 23.22 kB / 1.017 GB, free: 3.031 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 9.616e-05/0.9362, allocations: 95.25 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.9363, allocations: 57.62 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.9363, allocations: 0 / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.866e-05/0.9364, allocations: 41.61 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.9366, allocations: 16.94 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.9369, allocations: 113 kB / 1.018 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.9372, allocations: 0.7113 MB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.9372, allocations: 0 / 1.018 GB, free: 1.98 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)