Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.263/1.263, allocations: 249.4 MB / 256.7 MB, free: 6.973 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.001021/0.001021, allocations: 185.2 kB / 316 MB, free: 3.551 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.178/1.178, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.0007736/0.0007735, allocations: 86.12 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3341/0.3349, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.5007, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4866/0.9874, allocations: 133.9 MB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.9877, allocations: 84.67 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. 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.008437/0.9962, allocations: 2.977 MB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.9962, allocations: 8 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.9963, allocations: 7.906 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.9964, allocations: 170.9 kB / 1.019 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.9965, allocations: 0 / 1.019 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.9965, allocations: 7.938 kB / 1.019 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.167e-05/0.9966, allocations: 27.55 kB / 1.019 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.9967, allocations: 60.03 kB / 1.019 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.9967, allocations: 4 kB / 1.019 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.9968, allocations: 7.906 kB / 1.019 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.9968, allocations: 0 / 1.019 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.9973, allocations: 262.4 kB / 1.019 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.595e-05/0.9973, allocations: 40.2 kB / 1.019 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/0.9974, allocations: 31.59 kB / 1.019 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.9974, allocations: 3.984 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.113e-05/0.9975, allocations: 65.39 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.9975, allocations: 0 / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001716/0.9977, allocations: 74.47 kB / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.9977, allocations: 59.47 kB / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.9978, allocations: 114 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.9978, allocations: 29.7 kB / 1.019 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.9979, allocations: 87.5 kB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.9979, allocations: 15.75 kB / 1.019 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.9979, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.505e-05/0.998, allocations: 331.3 kB / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.786e-05/0.998, allocations: 14.44 kB / 1.02 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-05/0.9981, allocations: 47.91 kB / 1.02 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.062e-05/0.9981, allocations: 22.36 kB / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.9981, allocations: 0 / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001301/0.9983, allocations: 89.14 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.9983, allocations: 4.156 kB / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.9983, allocations: 4 kB / 1.02 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.9983, allocations: 4 kB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.081e-05/0.9984, allocations: 22.56 kB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.9984, allocations: 7.922 kB / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.392e-05/0.9985, allocations: 8 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.9985, allocations: 4 kB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.258e-05/0.9986, allocations: 112.8 kB / 1.02 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.9986, allocations: 7.906 kB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.9987, allocations: 15.67 kB / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.9987, allocations: 0 / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.9987, allocations: 0 / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9987, allocations: 0 / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.999, allocations: 319.2 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.999, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.61e-05/0.9991, allocations: 12 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.9991, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.9991, allocations: 7.234 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9991, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9991, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001457/0.9993, allocations: 171.5 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002263/0.9995, allocations: 0.5544 MB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.9995, allocations: 81.02 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.9996, allocations: 4 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.61e-05/0.9997, allocations: 7.984 kB / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.9997, allocations: 0 / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.9997, allocations: 4 kB / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.878e-05/0.9998, allocations: 93.39 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008337/1.001, allocations: 55.56 kB / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0003258/1.001, allocations: 164.6 kB / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001153/1.001, allocations: 53.98 kB / 1.022 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/1.001, allocations: 3.938 kB / 1.022 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.497e-05/1.001, allocations: 37.23 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/1.001, allocations: 9.406 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/1.002, allocations: 101.3 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/1.002, allocations: 0.6997 MB / 1.022 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/1.002, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)