Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") [: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.0.1-maint.8.0.x/package.mo): time 1.295/1.295, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009564/0.0009565, allocations: 185.2 kB / 361.1 MB, free: 7.07 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.001/1.001, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0008063/0.0008065, allocations: 91.25 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.25e-06/5.28e-06, allocations: 0 / 0.8511 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4157, allocations: 115.3 MB / 0.9637 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/0.5671, allocations: 159.2 MB / 1.119 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.5674, allocations: 92.5 kB / 1.119 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.03998/0.6074, allocations: 16.57 MB / 1.135 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.6075, allocations: 5.125 kB / 1.135 GB, free: 12.08 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009723/0.6084, allocations: 0.6133 MB / 1.136 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.6085, allocations: 12.47 kB / 1.136 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007685/0.6093, allocations: 109.4 kB / 1.136 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.6096, allocations: 279.5 kB / 1.136 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.6096, allocations: 4 kB / 1.136 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.6097, allocations: 12 kB / 1.136 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000432/0.6101, allocations: 256.8 kB / 1.137 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.6106, allocations: 349.3 kB / 1.137 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.6106, allocations: 7.938 kB / 1.137 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.6107, allocations: 0 / 1.137 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/0.6107, allocations: 24.36 kB / 1.137 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.6126, allocations: 1.616 MB / 1.139 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/0.6131, allocations: 337.5 kB / 1.139 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.6133, allocations: 157.7 kB / 1.139 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.6135, allocations: 93.08 kB / 1.139 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002796/0.6137, allocations: 214.4 kB / 1.139 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 1.362e-06/0.6138, allocations: 0 / 1.139 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0009004/0.6147, allocations: 436.8 kB / 1.14 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.6147, allocations: 81.11 kB / 1.14 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.6149, allocations: 183.1 kB / 1.14 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.6149, allocations: 29.8 kB / 1.14 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.615, allocations: 152 kB / 1.14 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.568e-05/0.6151, allocations: 86.75 kB / 1.14 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/0.6151, allocations: 0 / 1.14 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.6152, allocations: 338.7 kB / 1.141 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.6154, allocations: 136.2 kB / 1.141 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.6156, allocations: 210.7 kB / 1.141 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.6159, allocations: 160.1 kB / 1.141 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6159, allocations: 0 / 1.141 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007442/0.6167, allocations: 431.3 kB / 1.142 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000256/0.6169, allocations: 0.8697 MB / 1.142 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.617, allocations: 4 kB / 1.142 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.6172, allocations: 48.75 kB / 1.142 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.6176, allocations: 89.56 kB / 1.142 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.6188, allocations: 1.403 MB / 1.144 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.6192, allocations: 51.91 kB / 1.144 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.6192, allocations: 12 kB / 1.144 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/0.6192, allocations: 11.91 kB / 1.144 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006376/0.6199, allocations: 361.3 kB / 1.144 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.6199, allocations: 0 / 1.144 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001311/0.62, allocations: 44.81 kB / 1.144 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.6204, allocations: 90.88 kB / 1.144 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.6214, allocations: 1.393 MB / 1.146 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.6217, allocations: 51.81 kB / 1.146 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.6218, allocations: 16 kB / 1.146 GB, free: 0.707 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.64e-05/0.6219, allocations: 111 kB / 1.146 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.6219, allocations: 23.72 kB / 1.146 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007015/0.6226, allocations: 395 kB / 1.146 GB, free: 180 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.6226, allocations: 4 kB / 1.146 GB, free: 176 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6227, allocations: 3.938 kB / 1.146 GB, free: 172 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6227, allocations: 7.984 kB / 1.146 GB, free: 164 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005401/0.6232, allocations: 0.5159 MB / 1.147 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.6232, allocations: 1.438 kB / 1.147 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.6236, allocations: 79.94 kB / 1.147 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.6238, allocations: 40.97 kB / 1.147 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.6238, allocations: 0 / 1.147 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009316/0.6247, allocations: 1.34 MB / 1.148 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.6248, allocations: 4.031 kB / 1.148 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006411/0.6254, allocations: 0.5049 MB / 1.149 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.6255, allocations: 132.7 kB / 1.149 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.6256, allocations: 4 kB / 1.149 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.6259, allocations: 39.95 kB / 1.149 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.165e-05/0.626, allocations: 27.86 kB / 1.149 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.6261, allocations: 16 kB / 1.149 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001219/0.6262, allocations: 156.5 kB / 1.149 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005336/0.6267, allocations: 124 kB / 1.149 GB, free: 12.96 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000154/0.6269, allocations: 126 kB / 1.149 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.628, allocations: 0.7717 MB / 1.15 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.628, allocations: 0 / 1.15 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.6284, allocations: 280.1 kB / 1.15 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.6287, allocations: 29.98 kB / 1.15 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.6297, allocations: 485.1 kB / 1.151 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/0.6302, allocations: 0.8244 MB / 1.152 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of SimCode: time 2.31e-07/0.6302, allocations: 0 / 1.152 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of Templates: time 0.008851/0.639, allocations: 5.684 MB / 1.157 GB, free: 4.793 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)