Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",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.0.0/package.mo): time 2.138/2.138, allocations: 284.8 MB / 292.1 MB, free: 10.82 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.001582/0.001582, allocations: 181.3 kB / 360.3 MB, free: 7.555 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.649/1.649, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001248/0.001247, allocations: 94.61 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2465/0.2477, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5465/0.7942, allocations: 115.2 MB / 0.9628 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2361/1.03, allocations: 159 MB / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/1.031, allocations: 93.81 kB / 1.118 GB, free: 13.71 MB / 0.7292 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.07036/1.101, allocations: 17.19 MB / 1.135 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.101, allocations: 8 kB / 1.135 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/1.103, allocations: 103.5 kB / 1.135 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/1.103, allocations: 291.2 kB / 1.135 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/1.103, allocations: 4 kB / 1.135 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/1.103, allocations: 12.66 kB / 1.135 GB, free: 12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007622/1.104, allocations: 252.8 kB / 1.136 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008652/1.105, allocations: 361.2 kB / 1.136 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/1.105, allocations: 0 / 1.136 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/1.105, allocations: 0 / 1.136 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.547e-05/1.105, allocations: 24.36 kB / 1.136 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003202/1.108, allocations: 1.599 MB / 1.138 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009179/1.109, allocations: 354 kB / 1.138 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004129/1.11, allocations: 162.8 kB / 1.138 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/1.11, allocations: 85.09 kB / 1.138 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004943/1.11, allocations: 218.3 kB / 1.138 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=27): time 2.886e-06/1.11, allocations: 0 / 1.138 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.001492/1.112, allocations: 433.6 kB / 1.139 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/1.112, allocations: 89.03 kB / 1.139 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/1.112, allocations: 179.1 kB / 1.139 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/1.112, allocations: 33.8 kB / 1.139 GB, free: 8 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/1.112, allocations: 152 kB / 1.139 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/1.113, allocations: 86.75 kB / 1.139 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/1.113, allocations: 4 kB / 1.139 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.113, allocations: 338.7 kB / 1.14 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/1.113, allocations: 129 kB / 1.14 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/1.114, allocations: 201.4 kB / 1.14 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/1.114, allocations: 164.1 kB / 1.14 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.114, allocations: 4 kB / 1.14 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001299/1.115, allocations: 423.4 kB / 1.14 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004419/1.116, allocations: 0.8774 MB / 1.141 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.116, allocations: 0 / 1.141 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003215/1.116, allocations: 41.77 kB / 1.141 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008267/1.117, allocations: 91.86 kB / 1.141 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/1.119, allocations: 1.413 MB / 1.143 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006708/1.12, allocations: 43.92 kB / 1.143 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/1.12, allocations: 15.98 kB / 1.143 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.12, allocations: 7.906 kB / 1.143 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001238/1.121, allocations: 353.7 kB / 1.143 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.121, allocations: 4 kB / 1.143 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/1.121, allocations: 40.81 kB / 1.143 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007363/1.122, allocations: 92.09 kB / 1.143 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/1.124, allocations: 1.397 MB / 1.145 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006183/1.124, allocations: 60 kB / 1.145 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/1.124, allocations: 9.484 kB / 1.145 GB, free: 1.738 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 0.0002133/1.125, allocations: 116.7 kB / 1.145 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.771e-05/1.125, allocations: 27.7 kB / 1.145 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/1.126, allocations: 395.9 kB / 1.145 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/1.126, allocations: 4 kB / 1.145 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.126, allocations: 0 / 1.145 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/1.126, allocations: 3.984 kB / 1.145 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009305/1.127, allocations: 0.512 MB / 1.146 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.127, allocations: 1.688 kB / 1.146 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007622/1.128, allocations: 83.88 kB / 1.146 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002146/1.128, allocations: 40.83 kB / 1.146 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/1.128, allocations: 3.984 kB / 1.146 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/1.13, allocations: 1.335 MB / 1.147 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.13, allocations: 3.125 kB / 1.147 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001262/1.131, allocations: 0.5074 MB / 1.148 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001365/1.132, allocations: 0.872 MB / 1.149 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002666/1.133, allocations: 140.6 kB / 1.149 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.656e-05/1.133, allocations: 8 kB / 1.149 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005981/1.133, allocations: 31.95 kB / 1.149 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/1.133, allocations: 32.05 kB / 1.149 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/1.134, allocations: 19.97 kB / 1.149 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.000221/1.134, allocations: 156.5 kB / 1.149 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002545/1.136, allocations: 128 kB / 1.149 GB, free: 13.05 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.0002388/1.137, allocations: 119.1 kB / 1.149 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001848/1.138, allocations: 0.7746 MB / 1.15 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.138, allocations: 3.938 kB / 1.15 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006706/1.139, allocations: 274.6 kB / 1.15 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/1.14, allocations: 42.22 kB / 1.15 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/1.141, allocations: 479.2 kB / 1.151 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007047/1.142, allocations: 0.8197 MB / 1.151 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of SimCode: time 8.01e-07/1.142, allocations: 0 / 1.151 GB, free: 10.45 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)