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.And.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.And,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.254/1.254, allocations: 249.4 MB / 256.7 MB, free: 7.035 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.001087/0.001087, allocations: 184.8 kB / 316 MB, free: 3.555 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.68 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.000816/0.000816, allocations: 79.42 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3155/0.3163, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.4668, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4425/0.9094, allocations: 131.7 MB / 1.013 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.9096, allocations: 68.34 kB / 1.013 GB, free: 6.754 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.002492/0.9122, allocations: 0.9551 MB / 1.014 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.9122, allocations: 8 kB / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.9122, allocations: 14.22 kB / 1.014 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.9123, allocations: 170.9 kB / 1.014 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.9124, allocations: 7.984 kB / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-06/0.9124, allocations: 0 / 1.014 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.28e-05/0.9124, allocations: 18.94 kB / 1.014 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.847e-05/0.9125, allocations: 49.36 kB / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.9125, allocations: 3.938 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.9125, allocations: 4 kB / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.9126, allocations: 0 / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.9129, allocations: 281.1 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.598e-05/0.913, allocations: 38.14 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.9131, allocations: 20.03 kB / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.9131, allocations: 0 / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.412e-05/0.9131, allocations: 63.28 kB / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.9131, allocations: 0 / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000168/0.9133, allocations: 71.77 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.9134, allocations: 51.41 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.186e-05/0.9134, allocations: 97.58 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.9134, allocations: 33.64 kB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.9135, allocations: 98.45 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.9135, allocations: 11.59 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.9135, allocations: 0 / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.9136, allocations: 318.8 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.408e-05/0.9136, allocations: 14.31 kB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.261e-05/0.9137, allocations: 30.44 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.441e-05/0.9137, allocations: 16.14 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.9137, allocations: 0 / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.468e-05/0.9138, allocations: 68.95 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.9138, allocations: 14.72 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.9138, allocations: 0 / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/0.9138, allocations: 0 / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.406e-05/0.9139, allocations: 11.92 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.9139, allocations: 4 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.681e-05/0.914, allocations: 11.98 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.914, allocations: 10.88 kB / 1.016 GB, free: 4.262 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,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.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 5.509e-05/0.9141, allocations: 108.1 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.9141, allocations: 3.906 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.9141, allocations: 12.31 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.9141, allocations: 0 / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.9141, allocations: 3.938 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.9141, allocations: 3.906 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.9142, allocations: 157.4 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.9143, allocations: 0 / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.007e-05/0.9143, allocations: 7.938 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9143, allocations: 3.938 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.9143, allocations: 0 / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9143, allocations: 0 / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9143, allocations: 4 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.392e-05/0.9144, allocations: 83.78 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001864/0.9146, allocations: 472.5 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.9146, allocations: 85.02 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.9147, allocations: 3.938 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.9147, allocations: 15.98 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.9148, allocations: 15.89 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.9148, allocations: 0 / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.628e-05/0.9148, allocations: 94.08 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007122/0.9156, allocations: 8 kB / 1.017 GB, free: 3.141 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.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.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 9.02e-05/0.9157, allocations: 103.2 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.684e-05/0.9157, allocations: 42.36 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.9158, allocations: 2.562 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.976e-05/0.9158, allocations: 19.75 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.916, allocations: 18.8 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002148/0.9162, allocations: 98.66 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.9164, allocations: 0.6997 MB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/0.9164, allocations: 0 / 1.018 GB, free: 2.133 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)