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.Switch.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.Switch,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",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.241/1.241, allocations: 249.4 MB / 256.7 MB, free: 6.922 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.0009803/0.0009933, allocations: 192.1 kB / 316 MB, free: 3.543 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.088/1.088, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.0008165/0.0008165, allocations: 85.88 kB / 0.671 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3464/0.3473, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.5184, allocations: 106.3 MB / 0.8847 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4785/0.9969, allocations: 132 MB / 1.014 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.9972, allocations: 72.33 kB / 1.014 GB, free: 6.711 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.003581/1.001, allocations: 1.205 MB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/1.001, allocations: 8 kB / 1.015 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/1.001, allocations: 7.906 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/1.001, allocations: 174.9 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/1.001, allocations: 7.984 kB / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/1.001, allocations: 0 / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.391e-05/1.001, allocations: 30.62 kB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.851e-05/1.001, allocations: 52.38 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/1.001, allocations: 0 / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/1.001, allocations: 3.906 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/1.001, allocations: 4.75 kB / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/1.002, allocations: 258.7 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.024e-05/1.002, allocations: 42.2 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/1.002, allocations: 19.55 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/1.002, allocations: 4 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.854e-05/1.002, allocations: 58.45 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/1.002, allocations: 4 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0001716/1.002, allocations: 63.78 kB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/1.002, allocations: 58.08 kB / 1.016 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/1.002, allocations: 114.3 kB / 1.016 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/1.002, allocations: 25.7 kB / 1.016 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/1.002, allocations: 87.58 kB / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/1.002, allocations: 19.47 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/1.002, allocations: 0 / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001142/1.002, allocations: 314.8 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.395e-05/1.003, allocations: 18.88 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.413e-05/1.003, allocations: 24.34 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.677e-05/1.003, allocations: 20.92 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/1.003, allocations: 0 / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001077/1.003, allocations: 66.23 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/1.003, allocations: 8 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.003, allocations: 0 / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/1.003, allocations: 0 / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/1.003, allocations: 35.94 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/1.003, allocations: 0 / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/1.003, allocations: 31.91 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/1.003, allocations: 4 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.411e-05/1.003, allocations: 104.9 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/1.003, allocations: 7.906 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/1.003, allocations: 12.19 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/1.003, allocations: 7.875 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.003, allocations: 0 / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.003, allocations: 0 / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/1.003, allocations: 168.7 kB / 1.017 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/1.003, allocations: 0 / 1.017 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/1.004, allocations: 19.98 kB / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.004, allocations: 0 / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/1.004, allocations: 3.906 kB / 1.017 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.004, allocations: 0 / 1.017 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.004, allocations: 8.703 kB / 1.017 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001189/1.004, allocations: 94.72 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002206/1.004, allocations: 467.7 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/1.004, allocations: 85 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/1.004, allocations: 8 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/1.004, allocations: 19.98 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/1.004, allocations: 11.73 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/1.004, allocations: 7.938 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.371e-05/1.004, allocations: 97.83 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007177/1.005, allocations: 11.91 kB / 1.017 GB, free: 2.82 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001102/1.005, allocations: 106.7 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001088/1.005, allocations: 35.62 kB / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.005, allocations: 0 / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.32e-05/1.005, allocations: 26.98 kB / 1.018 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/1.005, allocations: 14.81 kB / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/1.006, allocations: 93.36 kB / 1.018 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/1.006, allocations: 0.7036 MB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/1.006, allocations: 4 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)