Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",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 8.1.4-maint.8.1.x/package.mo): time 1.377/1.377, allocations: 289.8 MB / 297.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009604/0.0009604, allocations: 181.3 kB / 366.3 MB, free: 2.012 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.083/1.083, allocations: 205.1 MB / 0.6256 GB, free: 5.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007796/0.0007796, allocations: 85.97 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.195/0.1958, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.6423, allocations: 116.3 MB / 0.9727 GB, free: 68.46 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1375/0.7799, allocations: 138.3 MB / 1.108 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001806/0.7801, allocations: 72.48 kB / 1.108 GB, free: 10.17 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.008331/0.7885, allocations: 3.01 MB / 1.111 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.7885, allocations: 8 kB / 1.111 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.7886, allocations: 8 kB / 1.111 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.7887, allocations: 167 kB / 1.111 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.7887, allocations: 0 / 1.111 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.7887, allocations: 11.98 kB / 1.111 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.683e-05/0.7888, allocations: 16.5 kB / 1.111 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.826e-05/0.7889, allocations: 45.69 kB / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-06/0.7889, allocations: 0 / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.7889, allocations: 7.984 kB / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.7889, allocations: 7.906 kB / 1.111 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.7894, allocations: 325.4 kB / 1.111 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.588e-05/0.7894, allocations: 27.23 kB / 1.111 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.7895, allocations: 16.86 kB / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.7895, allocations: 7.844 kB / 1.111 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.518e-05/0.7896, allocations: 72.88 kB / 1.111 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.7896, allocations: 0 / 1.111 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001633/0.7897, allocations: 69.59 kB / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.7898, allocations: 55.41 kB / 1.111 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.248e-05/0.7898, allocations: 111.5 kB / 1.112 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.7899, allocations: 29.7 kB / 1.112 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.7899, allocations: 88.23 kB / 1.112 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.79, allocations: 15.84 kB / 1.112 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.92e-05/0.79, allocations: 8 kB / 1.112 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.7901, allocations: 322.7 kB / 1.112 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.7902, allocations: 55.92 kB / 1.112 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.7903, allocations: 80.28 kB / 1.112 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.7906, allocations: 72.58 kB / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7906, allocations: 0 / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004859/0.7911, allocations: 198.1 kB / 1.112 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.7912, allocations: 8.125 kB / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7912, allocations: 4 kB / 1.112 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.7912, allocations: 0 / 1.112 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.915e-05/0.7912, allocations: 7.984 kB / 1.112 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.7912, allocations: 0 / 1.112 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.7915, allocations: 76 kB / 1.113 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.7916, allocations: 16 kB / 1.113 GB, free: 5.055 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.51e-05/0.7917, allocations: 121.8 kB / 1.113 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.7917, allocations: 4 kB / 1.113 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.7917, allocations: 12.28 kB / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.7917, allocations: 4 kB / 1.113 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.7917, allocations: 0 / 1.113 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.7918, allocations: 4 kB / 1.113 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.942e-05/0.7919, allocations: 150.2 kB / 1.113 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.7919, allocations: 0 / 1.113 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.047e-05/0.7919, allocations: 3.984 kB / 1.113 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.7919, allocations: 4 kB / 1.113 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.7919, allocations: 0 / 1.113 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.7919, allocations: 1.406 kB / 1.113 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7919, allocations: 0 / 1.113 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001074/0.792, allocations: 103.5 kB / 1.113 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002073/0.7922, allocations: 473.4 kB / 1.113 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.7923, allocations: 85.02 kB / 1.113 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.7923, allocations: 3.984 kB / 1.113 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.992e-05/0.7923, allocations: 0 / 1.113 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.7924, allocations: 8 kB / 1.113 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.7924, allocations: 7.984 kB / 1.113 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.899e-05/0.7924, allocations: 84.22 kB / 1.114 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007738/0.7932, allocations: 39.94 kB / 1.114 GB, free: 3.867 MB / 0.7136 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.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.0001651/0.7934, allocations: 115.2 kB / 1.114 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.7936, allocations: 151.3 kB / 1.114 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.7936, allocations: 0 / 1.114 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.079e-05/0.7937, allocations: 32.19 kB / 1.114 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.7939, allocations: 13.39 kB / 1.114 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002239/0.7941, allocations: 99.53 kB / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.7943, allocations: 0.6997 MB / 1.115 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.7944, allocations: 0 / 1.115 GB, free: 2.695 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)