Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [: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 9.1.1-maint.9.1.x/package.mo): time 1.948/1.948, allocations: 387.2 MB / 394.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 195.2 kB / 487 MB, free: 5.352 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 221.3 MB / 0.7819 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 87.31 kB / 0.9213 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.512e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2354, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6592/0.8947, allocations: 152.5 MB / 1.354 GB, free: 16.03 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.895, allocations: 80.61 kB / 1.354 GB, free: 16.03 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.03252/0.9275, allocations: 13.02 MB / 1.367 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.9276, allocations: 8 kB / 1.367 GB, free: 10.52 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005512/0.9281, allocations: 0.5232 MB / 1.367 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.9282, allocations: 9.031 kB / 1.367 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/0.9282, allocations: 19.81 kB / 1.367 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.9287, allocations: 256.2 kB / 1.368 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.9287, allocations: 7.906 kB / 1.368 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.9288, allocations: 12 kB / 1.368 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001211/0.9289, allocations: 50.42 kB / 1.368 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.929, allocations: 95.69 kB / 1.368 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.929, allocations: 0 / 1.368 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.9291, allocations: 0 / 1.368 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.9291, allocations: 4.562 kB / 1.368 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.9296, allocations: 0.4958 MB / 1.368 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.9298, allocations: 86.08 kB / 1.368 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.9298, allocations: 39.91 kB / 1.368 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.9298, allocations: 4 kB / 1.368 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.93, allocations: 118.8 kB / 1.369 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.93, allocations: 0 / 1.369 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0002096/0.9302, allocations: 107 kB / 1.369 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.9302, allocations: 77.11 kB / 1.369 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.9304, allocations: 173 kB / 1.369 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.9304, allocations: 29.7 kB / 1.369 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.9304, allocations: 104.2 kB / 1.369 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.9305, allocations: 39.59 kB / 1.369 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.9305, allocations: 0 / 1.369 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.241e-05/0.9305, allocations: 332.4 kB / 1.369 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.832e-05/0.9306, allocations: 26.56 kB / 1.369 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.9307, allocations: 125.4 kB / 1.37 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.389e-05/0.9308, allocations: 39.52 kB / 1.37 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9308, allocations: 0 / 1.37 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001848/0.931, allocations: 147.7 kB / 1.37 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.931, allocations: 4 kB / 1.37 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.931, allocations: 0 / 1.37 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.931, allocations: 4 kB / 1.37 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.251e-05/0.9311, allocations: 23.11 kB / 1.37 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.9311, allocations: 4 kB / 1.37 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.9313, allocations: 27.92 kB / 1.37 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.9314, allocations: 4 kB / 1.37 GB, free: 7.582 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.007e-05/0.9314, allocations: 118 kB / 1.37 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.9315, allocations: 23.7 kB / 1.37 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.9315, allocations: 16.28 kB / 1.37 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.9315, allocations: 4 kB / 1.37 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.9315, allocations: 0 / 1.37 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.9315, allocations: 0 / 1.37 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.932, allocations: 437 kB / 1.37 GB, free: 7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.932, allocations: 0 / 1.37 GB, free: 7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.932, allocations: 4 kB / 1.37 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.932, allocations: 0 / 1.37 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.932, allocations: 15.7 kB / 1.37 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.932, allocations: 4 kB / 1.37 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.932, allocations: 0 / 1.37 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001556/0.9322, allocations: 222.1 kB / 1.371 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.9322, allocations: 96.81 kB / 1.371 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.9323, allocations: 4 kB / 1.371 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.9324, allocations: 15.98 kB / 1.371 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.9325, allocations: 23.53 kB / 1.371 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.9325, allocations: 11.19 kB / 1.371 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.416e-05/0.9326, allocations: 137.4 kB / 1.371 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002875/0.9329, allocations: 39.88 kB / 1.371 GB, free: 6.441 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003159/0.9332, allocations: 171.5 kB / 1.371 GB, free: 6.293 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001775/0.9334, allocations: 89.92 kB / 1.371 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9334, allocations: 320 / 1.371 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.9335, allocations: 58.31 kB / 1.371 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.9338, allocations: 52.33 kB / 1.371 GB, free: 6.137 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.9342, allocations: 191.6 kB / 1.371 GB, free: 5.941 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.9344, allocations: 0.747 MB / 1.372 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of SimCode: time 2.1e-07/0.9344, allocations: 0 / 1.372 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of Templates: time 0.005584/0.94, allocations: 3.213 MB / 1.375 GB, free: 2.012 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1)