Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Machines.TestDoubleLayer10over12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer10over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Machines.TestDoubleLayer10over12,fileNamePrefix="HanserModelica_HanserModelica_Machines_TestDoubleLayer10over12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009661/0.0009662, allocations: 99.94 kB / 15.05 MB, free: 1.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.2 MB / 238.9 MB, free: 5.676 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 193 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03193/0.03193, allocations: 8.795 MB / 350.1 MB, free: 4.754 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003701, allocations: 13.62 kB / 413.2 MB, free: 43.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08052/0.0809, allocations: 52.56 MB / 465.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Machines.TestDoubleLayer10over12): time 0.001196/0.08214, allocations: 0.9627 MB / 466.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.08354, allocations: 1.035 MB / 467.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.08358, allocations: 3.938 kB / 467.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000373/0.08397, allocations: 83.73 kB / 467.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006448/0.08462, allocations: 311 kB / 468.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.136e-06/0.08464, allocations: 0 / 468.1 MB, free: 11.14 MB / 302.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo:731:9-734:52:writable] Error: Internal error NFEvalFunction.assignArrayElement: unimplemented case for fill(0, if true then div(24, 2) else 24)[1] = 1 Notification: Performance of NFFlatten.flatten: time 0.0004343/0.08508, allocations: 247.7 kB / 468.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.08512, allocations: 7.984 kB / 468.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.08515, allocations: 11.94 kB / 468.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.237e-05/0.08519, allocations: 15.92 kB / 468.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.08521, allocations: 0 / 468.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.08553, allocations: 211.7 kB / 468.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.08559, allocations: 23.92 kB / 468.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.08562, allocations: 33.7 kB / 468.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.08583, allocations: 140 kB / 468.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.08584, allocations: 0 / 468.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.08585, allocations: 0 / 468.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.08586, allocations: 3.938 kB / 468.8 MB, free: 10.45 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003478/0.08621, allocations: 387 kB / 469.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.08625, allocations: 12.03 kB / 469.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.0863, allocations: 109.8 kB / 469.3 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003441/0.08665, allocations: 111.1 kB / 469.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.0869, allocations: 290.8 kB / 469.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.08696, allocations: 150.6 kB / 469.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.801e-05/0.08702, allocations: 150.6 kB / 470 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.936e-05/0.08708, allocations: 109 kB / 470.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.08711, allocations: 75.28 kB / 470.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.212e-05/0.08717, allocations: 154.6 kB / 470.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.436e-05/0.08722, allocations: 158.5 kB / 470.5 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.104e-05/0.08727, allocations: 154.5 kB / 470.6 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.08757, allocations: 493.8 kB / 471.1 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.422e-05/0.08765, allocations: 169.1 kB / 471.3 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.08768, allocations: 75.28 kB / 471.3 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.08773, allocations: 105.8 kB / 471.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.08774, allocations: 4 kB / 471.4 MB, free: 7.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.802e-05/0.08781, allocations: 37.55 kB / 471.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.08788, allocations: 130.7 kB / 471.6 MB, free: 7.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.08807, allocations: 204.4 kB / 471.8 MB, free: 7.219 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.08809, allocations: 25.7 kB / 471.8 MB, free: 7.188 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.08815, allocations: 96.05 kB / 471.9 MB, free: 7.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.08816, allocations: 0 / 471.9 MB, free: 7.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-06/0.08817, allocations: 0 / 471.9 MB, free: 7.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.0883, allocations: 322.8 kB / 472.2 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.372e-05/0.08838, allocations: 47.97 kB / 472.3 MB, free: 6.719 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.08845, allocations: 47.95 kB / 472.3 MB, free: 6.672 MB / 302.1 MB Error: No system for the symbolic initialization was generated