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.And3.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.And3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.237/1.237, allocations: 249.4 MB / 256.7 MB, free: 6.977 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.001066/0.001066, allocations: 181.1 kB / 316 MB, free: 3.504 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.194/1.194, allocations: 205.2 MB / 0.5667 GB, free: 15.55 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.0007896/0.0007896, allocations: 86.27 kB / 0.671 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3367/0.3375, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.5005, allocations: 106.3 MB / 0.8847 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4649/0.9654, allocations: 131.7 MB / 1.013 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.9657, allocations: 76.94 kB / 1.013 GB, free: 6.695 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.003439/0.9691, allocations: 1.248 MB / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.9692, allocations: 8 kB / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.9692, allocations: 15.75 kB / 1.015 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.9693, allocations: 179 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.9693, allocations: 0 / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.9693, allocations: 4 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.258e-05/0.9694, allocations: 29.84 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.232e-05/0.9695, allocations: 60.23 kB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-06/0.9695, allocations: 0 / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.9695, allocations: 0 / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.9695, allocations: 0 / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.97, allocations: 323.6 kB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.338e-05/0.9701, allocations: 45.2 kB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.9701, allocations: 19.67 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.9701, allocations: 0 / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.032e-05/0.9702, allocations: 83.36 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.9702, allocations: 0 / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0001302/0.9703, allocations: 82.95 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.9704, allocations: 51.41 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/0.9705, allocations: 119.8 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.9705, allocations: 25.7 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.9705, allocations: 88.12 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.9705, allocations: 26.92 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.9706, allocations: 4 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.386e-05/0.9707, allocations: 318.8 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.047e-05/0.9707, allocations: 15.56 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.85e-05/0.9707, allocations: 46.25 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.835e-05/0.9708, allocations: 19.86 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9708, allocations: 0 / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001226/0.9709, allocations: 91.53 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.9709, allocations: 4 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.9709, allocations: 0 / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.971, allocations: 4 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.729e-05/0.971, allocations: 7.984 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.971, allocations: 11.92 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.9711, allocations: 27.98 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.9712, allocations: 7.312 kB / 1.016 GB, free: 3.805 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,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.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 6.31e-05/0.9712, allocations: 108.9 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.9712, allocations: 7.906 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.9713, allocations: 18.17 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.9713, allocations: 4 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.9713, allocations: 11.92 kB / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.9713, allocations: 0 / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.9714, allocations: 160.2 kB / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9714, allocations: 0 / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-05/0.9715, allocations: 3.984 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.9715, allocations: 4 kB / 1.017 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.9715, allocations: 0 / 1.017 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.9715, allocations: 0.6875 kB / 1.017 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9715, allocations: 3.938 kB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001153/0.9716, allocations: 108.2 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000189/0.9718, allocations: 489 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.9718, allocations: 81.02 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.9719, allocations: 7.984 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.972, allocations: 23.98 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.9721, allocations: 19.72 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.9721, allocations: 4 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.919e-05/0.9721, allocations: 91.23 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007249/0.9728, allocations: 27.89 kB / 1.017 GB, free: 2.605 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.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.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 0.0001054/0.973, allocations: 99.19 kB / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.9731, allocations: 56.19 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.9731, allocations: 4 kB / 1.018 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.249e-05/0.9731, allocations: 27.19 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.9734, allocations: 23.61 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.9737, allocations: 120.8 kB / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.9739, allocations: 0.7074 MB / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.9739, allocations: 0 / 1.018 GB, free: 1.555 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)