Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.1.4-maint.8.1.x/package.mo): time 1.42/1.42, allocations: 289.8 MB / 297.1 MB, free: 9.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 186.7 kB / 366.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.087/1.087, allocations: 205.1 MB / 0.6256 GB, free: 2.266 MB / 446.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007936/0.0007936, allocations: 82.02 kB / 0.7395 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.3848/0.3856, allocations: 122.4 MB / 0.8591 GB, free: 156.6 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.5353, allocations: 116.3 MB / 0.9727 GB, free: 54.3 MB / 0.6387 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4746/1.01, allocations: 180.1 MB / 1.149 GB, free: 22.32 MB / 0.7169 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/1.01, allocations: 95.44 kB / 1.149 GB, free: 22.32 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.1623/1.173, allocations: 78.45 MB / 1.225 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/1.173, allocations: 9.938 kB / 1.225 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009895/1.183, allocations: 1.462 MB / 1.227 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/1.185, allocations: 1.155 MB / 1.228 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.501e-05/1.185, allocations: 37.75 kB / 1.228 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/1.185, allocations: 66.03 kB / 1.228 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002544/1.188, allocations: 1.489 MB / 1.229 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002688/1.191, allocations: 1.922 MB / 1.231 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/1.191, allocations: 7.938 kB / 1.231 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/1.191, allocations: 4 kB / 1.231 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-05/1.191, allocations: 81.81 kB / 1.231 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/1.203, allocations: 9.795 MB / 1.241 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/1.205, allocations: 1.099 MB / 1.242 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007234/1.205, allocations: 0.6034 MB / 1.243 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.105e-05/1.205, allocations: 8.438 kB / 1.243 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/1.205, allocations: 42.94 kB / 1.243 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=53): time 2.264e-06/1.205, allocations: 0 / 1.243 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=81): time 0.00826/1.214, allocations: 3.95 MB / 1.246 GB, free: 9.188 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.532e-05/1.214, allocations: 214.3 kB / 1.247 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009077/1.215, allocations: 0.7422 MB / 1.247 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.581e-05/1.215, allocations: 29.7 kB / 1.247 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/1.215, allocations: 0.5532 MB / 1.248 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/1.215, allocations: 271.9 kB / 1.248 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.322e-05/1.215, allocations: 0 / 1.248 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.216, allocations: 341.9 kB / 1.249 GB, free: 6.965 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009174/1.217, allocations: 0.7009 MB / 1.249 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/1.218, allocations: 0.9282 MB / 1.25 GB, free: 5.234 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/1.219, allocations: 0.801 MB / 1.251 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.219, allocations: 4 kB / 1.251 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004695/1.223, allocations: 2.478 MB / 1.253 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/1.224, allocations: 8.156 kB / 1.253 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.224, allocations: 8 kB / 1.253 GB, free: 1.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003049/1.227, allocations: 0.8495 MB / 1.254 GB, free: 1.039 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/1.228, allocations: 331.5 kB / 1.254 GB, free: 0.7148 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/1.242, allocations: 13.83 MB / 1.268 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/1.244, allocations: 203.7 kB / 1.268 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/1.244, allocations: 47.97 kB / 1.268 GB, free: 1.723 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002781/1.245, allocations: 128.6 kB / 1.268 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/1.245, allocations: 134.4 kB / 1.268 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005267/1.25, allocations: 2.536 MB / 1.271 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.25, allocations: 8 kB / 1.271 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/1.25, allocations: 8 kB / 1.271 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/1.25, allocations: 3.984 kB / 1.271 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007307/1.258, allocations: 4.083 MB / 1.275 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/1.258, allocations: 0 / 1.275 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.259, allocations: 295.6 kB / 1.275 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002719/1.262, allocations: 0.7598 MB / 1.276 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.473e-05/1.262, allocations: 23.97 kB / 1.276 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/1.275, allocations: 13.39 MB / 1.289 GB, free: 11.32 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.275, allocations: 0 / 1.289 GB, free: 11.32 MB / 0.795 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004555/1.28, allocations: 2.467 MB / 1.291 GB, free: 8.742 MB / 0.795 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00445/1.284, allocations: 2.875 MB / 1.294 GB, free: 5.746 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007652/1.285, allocations: 383.4 kB / 1.295 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003491/1.285, allocations: 4 kB / 1.295 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/1.287, allocations: 199.7 kB / 1.295 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/1.287, allocations: 52.58 kB / 1.295 GB, free: 5.102 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/1.287, allocations: 43.81 kB / 1.295 GB, free: 5.059 MB / 0.795 GB Notification: Performance of sort global known variables: time 0.000765/1.288, allocations: 0.5641 MB / 1.296 GB, free: 4.488 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002076/1.29, allocations: 404 kB / 1.296 GB, free: 4.094 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002915/1.291, allocations: 139.6 kB / 1.296 GB, free: 3.953 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004193/1.295, allocations: 2.705 MB / 1.299 GB, free: 1.172 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.295, allocations: 0 / 1.299 GB, free: 1.172 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002791/1.298, allocations: 1.84 MB / 1.3 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.299, allocations: 408.9 kB / 1.301 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006915/1.306, allocations: 2.612 MB / 1.303 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/1.308, allocations: 1.488 MB / 1.305 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of SimCode: time 4.41e-07/1.308, allocations: 0 / 1.305 GB, free: 10.65 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)