Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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 loadModel(Buildings): time 4.327/4.327, allocations: 433 MB / 440.3 MB, free: 4.742 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.592/4.919, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/5.187, allocations: 98.71 MB / 0.6283 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2536/5.441, allocations: 125.7 MB / 0.7511 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004505/5.441, allocations: 83.59 kB / 0.7512 GB, free: 11.78 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.02163/5.463, allocations: 3.123 MB / 0.7542 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/5.463, allocations: 8 kB / 0.7542 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.05e-05/5.463, allocations: 11.91 kB / 0.7542 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/5.463, allocations: 182.8 kB / 0.7544 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/5.463, allocations: 4 kB / 0.7544 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/5.463, allocations: 4 kB / 0.7544 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002149/5.464, allocations: 32 kB / 0.7544 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/5.464, allocations: 73.64 kB / 0.7545 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/5.464, allocations: 0 / 0.7545 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/5.464, allocations: 4 kB / 0.7545 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/5.464, allocations: 0 / 0.7545 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009326/5.465, allocations: 285.2 kB / 0.7548 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/5.465, allocations: 58.56 kB / 0.7548 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/5.465, allocations: 32.86 kB / 0.7549 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/5.465, allocations: 3.938 kB / 0.7549 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002925/5.466, allocations: 88.12 kB / 0.755 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 4.238e-06/5.466, allocations: 4 kB / 0.755 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0008205/5.467, allocations: 101.5 kB / 0.7551 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/5.467, allocations: 55.41 kB / 0.7551 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/5.467, allocations: 117 kB / 0.7552 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/5.467, allocations: 25.7 kB / 0.7552 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/5.467, allocations: 84.53 kB / 0.7553 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.056e-05/5.467, allocations: 27.69 kB / 0.7553 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/5.467, allocations: 3.938 kB / 0.7554 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002129/5.467, allocations: 322.8 kB / 0.7557 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/5.468, allocations: 27.94 kB / 0.7557 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/5.468, allocations: 57.95 kB / 0.7557 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/5.468, allocations: 31.98 kB / 0.7558 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/5.468, allocations: 0 / 0.7558 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006744/5.469, allocations: 109.5 kB / 0.7559 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/5.469, allocations: 6.969 kB / 0.7559 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/5.469, allocations: 4 kB / 0.7559 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/5.469, allocations: 0 / 0.7559 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/5.47, allocations: 15.94 kB / 0.7559 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/5.47, allocations: 12.05 kB / 0.7559 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/5.47, allocations: 8 kB / 0.7559 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/5.47, allocations: 8 kB / 0.7559 GB, free: 6.637 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001732/5.47, allocations: 109.6 kB / 0.756 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/5.47, allocations: 11.81 kB / 0.756 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.827e-05/5.47, allocations: 12.36 kB / 0.7561 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/5.47, allocations: 3.938 kB / 0.7561 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/5.47, allocations: 8 kB / 0.7561 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/5.47, allocations: 0 / 0.7561 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009287/5.471, allocations: 359 kB / 0.7564 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/5.471, allocations: 0 / 0.7564 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-05/5.471, allocations: 8 kB / 0.7564 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/5.471, allocations: 0 / 0.7564 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/5.471, allocations: 3.984 kB / 0.7564 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/5.471, allocations: 4 kB / 0.7564 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/5.471, allocations: 4 kB / 0.7564 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004353/5.472, allocations: 199.4 kB / 0.7566 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007679/5.473, allocations: 0.5715 MB / 0.7572 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.83e-05/5.473, allocations: 84.95 kB / 0.7573 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.292e-05/5.473, allocations: 4 kB / 0.7573 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/5.473, allocations: 11.98 kB / 0.7573 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/5.473, allocations: 0 / 0.7573 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/5.473, allocations: 11.98 kB / 0.7573 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001093/5.473, allocations: 91.28 kB / 0.7574 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001866/5.475, allocations: 59.83 kB / 0.7574 GB, free: 4.996 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: 8 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005225/5.476, allocations: 174.7 kB / 0.7576 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002829/5.476, allocations: 71.86 kB / 0.7577 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/5.476, allocations: 0 / 0.7577 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/5.476, allocations: 40 kB / 0.7577 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/5.477, allocations: 8.297 kB / 0.7577 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006869/5.477, allocations: 127.4 kB / 0.7578 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/5.478, allocations: 0.7075 MB / 0.7585 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of SimCode: time 1.543e-06/5.478, allocations: 0 / 0.7585 GB, free: 3.82 MB / 0.6355 GB