Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 116.7 kB / 17.17 MB, free: 5.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002364/0.002364, allocations: 196.5 kB / 20.12 MB, free: 2.809 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06552/0.06552, allocations: 12.17 MB / 315.6 MB, free: 288 kB / 238.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 71.88 kB / 439.5 MB, free: 6.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3035, allocations: 55.16 MB / 494.7 MB, free: 23.82 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients): time 0.005367/0.3088, allocations: 3.233 MB / 497.9 MB, free: 21.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.3111, allocations: 0.9265 MB / 498.9 MB, free: 20.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002525/0.3113, allocations: 12.59 kB / 498.9 MB, free: 20.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000405/0.3117, allocations: 95.83 kB / 499 MB, free: 20.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.3119, allocations: 53.3 kB / 499 MB, free: 20.42 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1308:7-1320:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.readP'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:171:5-182:15:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getPos' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getPos'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1322:7-1334:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.sendP'. Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.313, allocations: 311.7 kB / 499.3 MB, free: 20.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007822/0.3137, allocations: 0.6723 MB / 500 MB, free: 19.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006067/0.3143, allocations: 415.7 kB / 0.4887 GB, free: 19.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003404/0.3147, allocations: 330.8 kB / 0.489 GB, free: 19.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004026/0.3151, allocations: 367.4 kB / 0.4893 GB, free: 19.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.3152, allocations: 74.72 kB / 0.4894 GB, free: 19.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004341/0.3157, allocations: 199.3 kB / 0.4896 GB, free: 19.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.3159, allocations: 223.2 kB / 0.4898 GB, free: 18.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003277/0.3162, allocations: 346 kB / 0.4901 GB, free: 18.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.3174, allocations: 1.048 MB / 0.4912 GB, free: 17.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3174, allocations: 0 / 0.4912 GB, free: 17.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3174, allocations: 0 / 0.4912 GB, free: 17.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.3174, allocations: 1.531 kB / 0.4912 GB, free: 17.96 MB / 366.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: addInteger[2].pkgOut[1].pkg = addInteger[2].pkgIn.pkg addInteger[1].pkgOut[1].pkg = addInteger[1].pkgIn.pkg addInteger[2].pkgOut[1].pkg = tCPIPSend[2].pkgIn.pkg addInteger[1].pkgOut[1].pkg = tCPIPSend[1].pkgIn.pkg packager[2].pkgOut.pkg = addInteger[2].pkgIn.pkg packager[1].pkgOut.pkg = addInteger[1].pkgIn.pkg tCPIPReceive[2].pkgOut.pkg = getInteger[2].pkgIn.pkg tCPIPReceive[1].pkgOut.pkg = getInteger[1].pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002593/0.32, allocations: 1.49 MB / 0.4926 GB, free: 16.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.3201, allocations: 9.25 kB / 0.4926 GB, free: 16.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/0.3202, allocations: 113.4 kB / 0.4927 GB, free: 16.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.3204, allocations: 85.34 kB / 0.4928 GB, free: 16.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008128/0.3213, allocations: 0.4915 MB / 0.4933 GB, free: 16.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/0.3213, allocations: 50.89 kB / 0.4933 GB, free: 16.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.3214, allocations: 67.27 kB / 0.4934 GB, free: 16.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.3229, allocations: 0.944 MB / 0.4943 GB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.323, allocations: 4.906 kB / 0.4943 GB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.368e-05/0.323, allocations: 27.86 kB / 0.4944 GB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.3231, allocations: 14.69 kB / 0.4944 GB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.3241, allocations: 0.63 MB / 0.495 GB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00281/0.3269, allocations: 2.309 MB / 0.4972 GB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.328, allocations: 0.7291 MB / 0.498 GB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/0.3285, allocations: 366 kB / 0.4983 GB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.753e-05/0.3286, allocations: 18.81 kB / 0.4983 GB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000744/0.3293, allocations: 0.5714 MB / 0.4989 GB, free: 12.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.705e-06/0.3293, allocations: 0 / 0.4989 GB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.002369/0.3317, allocations: 1.378 MB / 0.5002 GB, free: 11.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.3318, allocations: 273.4 kB / 0.5005 GB, free: 11.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005274/0.3324, allocations: 437.6 kB / 0.5009 GB, free: 11.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.504e-05/0.3325, allocations: 74.72 kB / 0.501 GB, free: 11.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.3326, allocations: 279.1 kB / 0.5012 GB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.3328, allocations: 196.6 kB / 0.5014 GB, free: 10.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/0.3331, allocations: 231 kB / 0.5017 GB, free: 10.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3332, allocations: 377.7 kB / 0.502 GB, free: 10.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005607/0.3338, allocations: 373 kB / 0.5024 GB, free: 10 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/0.3344, allocations: 0.6698 MB / 0.503 GB, free: 9.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.3361, allocations: 1.639 MB / 0.5046 GB, free: 8.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.3362, allocations: 6.75 kB / 0.5046 GB, free: 8.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001716/0.3379, allocations: 1.368 MB / 0.506 GB, free: 6.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.377e-05/0.3379, allocations: 122.8 kB / 0.5061 GB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.3379, allocations: 15.94 kB / 0.5061 GB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.338, allocations: 12 kB / 0.5061 GB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.3383, allocations: 124.4 kB / 0.5062 GB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/0.3383, allocations: 23.88 kB / 0.5063 GB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.3387, allocations: 88.14 kB / 0.5063 GB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/0.3387, allocations: 51.98 kB / 0.5064 GB, free: 6.543 MB / 366.1 MB Warning: Assuming fixed start value for the following 10 variables: process[1].y[1]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] process[1].y[2]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] process[1].y[3]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] tCPIPSend[1].dataSent:DISCRETE(fixed = true ) type: Integer [2] tCPIPReceive[1].nReceivedBytes:DISCRETE(flow=false fixed = true ) \"Number of received bytes\" type: Integer [2] process[2].y[1]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] process[2].y[2]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] process[2].y[3]:DISCRETE(flow=false fixed = true ) type: Integer [2,3] tCPIPSend[2].dataSent:DISCRETE(fixed = true ) type: Integer [2] tCPIPReceive[2].nReceivedBytes:DISCRETE(flow=false fixed = true ) \"Number of received bytes\" type: Integer [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 114 ($PRE.process[1].y[1],process[1].y[1],$PRE.process[1].y[2],process[1].y[2],$PRE.process[1].y[3],process[1].y[3],tCPIPSend[1].dummy1,$PRE.tCPIPSend[1].dummy1,tCPIPSend[1].pkgSize,$PRE.tCPIPSend[1].pkgSize,$PRE.tCPIPSend[1].dataSent,tCPIPSend[1].dataSent,tCPIPSend[1].dummy2,$PRE.tCPIPSend[1].dummy2,addInteger[1].pkgOut[1].dummy,$PRE.addInteger[1].pkgOut[1].dummy,packager[1].pkgOut.dummy,$PRE.packager[1].pkgOut.dummy,getInteger[1].dummy,$PRE.getInteger[1].dummy,getInteger[1].y[3],$PRE.getInteger[1].y[3],getInteger[1].y[2],$PRE.getInteger[1].y[2],getInteger[1].y[1],$PRE.getInteger[1].y[1],tCPIPReceive[1].pkgOut.dummy,$PRE.tCPIPReceive[1].pkgOut.dummy,$PRE.tCPIPSend[1].block_,$PRE.tCPIPSend[1].accepted,$PRE.tCPIPReceive[1].block_,$PRE.tCPIPReceive[1].accepted,$PRE.tCPIPReceive[1].nReceivedBytes,tCPIPSend[1].block_,tCPIPSend[1].accepted,addInteger[1].pkgOut[1].backwardTrigger,addInteger[1].pkgOut[1].trigger,tCPIPReceive[1].block_,tCPIPReceive[1].accepted,tCPIPReceive[1].recvTrigger,tCPIPReceive[1].nReceivedBytes,tCPIPReceive[1].conditionalInternalTrigger,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.process[2].y[1],process[2].y[1],$PRE.process[2].y[2],process[2].y[2],$PRE.process[2].y[3],process[2].y[3],tCPIPSend[2].dummy1,$PRE.tCPIPSend[2].dummy1,tCPIPSend[2].pkgSize,$PRE.tCPIPSend[2].pkgSize,$PRE.tCPIPSend[2].dataSent,tCPIPSend[2].dataSent,tCPIPSend[2].dummy2,$PRE.tCPIPSend[2].dummy2,addInteger[2].pkgOut[1].dummy,$PRE.addInteger[2].pkgOut[1].dummy,packager[2].pkgOut.dummy,$PRE.packager[2].pkgOut.dummy,getInteger[2].dummy,$PRE.getInteger[2].dummy,getInteger[2].y[3],$PRE.getInteger[2].y[3],getInteger[2].y[2],$PRE.getInteger[2].y[2],getInteger[2].y[1],$PRE.getInteger[2].y[1],tCPIPReceive[2].pkgOut.dummy,$PRE.tCPIPReceive[2].pkgOut.dummy,$PRE.tCPIPSend[2].block_,$PRE.tCPIPSend[2].accepted,$PRE.tCPIPReceive[2].block_,$PRE.tCPIPReceive[2].accepted,$PRE.tCPIPReceive[2].nReceivedBytes,tCPIPSend[2].block_,tCPIPSend[2].accepted,addInteger[2].pkgOut[1].backwardTrigger,addInteger[2].pkgOut[1].trigger,tCPIPReceive[2].block_,tCPIPReceive[2].accepted,tCPIPReceive[2].recvTrigger,tCPIPReceive[2].nReceivedBytes,tCPIPReceive[2].conditionalInternalTrigger,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tCPIPSend[2].internalTrigger,tCPIPSend[1].internalTrigger,getInteger[2].pkgIn.userPkgBitSize,getInteger[2].pkgIn.backwardTrigger,getInteger[1].pkgIn.userPkgBitSize,getInteger[1].pkgIn.backwardTrigger,tCPIPSend[2].bufferSize,tCPIPSend[2].pkgIn.autoPkgBitSize,tCPIPSend[2].pkgIn.userPkgBitSize,addInteger[2].pkgIn.autoPkgBitSize,packager[2].bufferSize,packager[2].backwardPropagatedBufferSize,tCPIPSend[1].bufferSize,tCPIPSend[1].pkgIn.autoPkgBitSize,tCPIPSend[1].pkgIn.userPkgBitSize,addInteger[1].pkgIn.autoPkgBitSize,packager[1].bufferSize,packager[1].backwardPropagatedBufferSize,getInteger[2].pkgIn.autoPkgBitSize,tCPIPReceive[2].bufferSize,getInteger[1].pkgIn.autoPkgBitSize,tCPIPReceive[1].bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005838/0.3393, allocations: 450.9 kB / 0.5068 GB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.3394, allocations: 67.64 kB / 0.5069 GB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.288e-05/0.3395, allocations: 39.95 kB / 0.5069 GB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.3395, allocations: 8 kB / 0.5069 GB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/0.3395, allocations: 7.938 kB / 0.5069 GB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3395, allocations: 3.984 kB / 0.5069 GB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.3417, allocations: 1.813 MB / 0.5087 GB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.3417, allocations: 4 kB / 0.5087 GB, free: 4.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.3418, allocations: 8 kB / 0.5087 GB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3418, allocations: 4 kB / 0.5087 GB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.3418, allocations: 23.97 kB / 0.5087 GB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.3418, allocations: 7.938 kB / 0.5088 GB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.3418, allocations: 4 kB / 0.5088 GB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.343, allocations: 1.24 MB / 0.51 GB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.434e-05/0.3431, allocations: 132.7 kB / 0.5101 GB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.266e-05/0.3432, allocations: 23.97 kB / 0.5101 GB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.3434, allocations: 23.97 kB / 0.5101 GB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.3435, allocations: 39.89 kB / 0.5102 GB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.766e-05/0.3436, allocations: 43.91 kB / 0.5102 GB, free: 2.484 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.3437, allocations: 231 kB / 0.5104 GB, free: 2.258 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3437, allocations: 3.938 kB / 0.5104 GB, free: 2.254 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007824/0.3445, allocations: 255.3 kB / 0.5107 GB, free: 2.004 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 72 (tCPIPSend[1].internalTrigger,tCPIPSend[2].internalTrigger,packager[2].backwardPropagatedBufferSize,packager[2].bufferSize,addInteger[2].pkgIn.autoPkgBitSize,tCPIPSend[2].pkgIn.userPkgBitSize,tCPIPSend[2].pkgIn.autoPkgBitSize,packager[1].backwardPropagatedBufferSize,packager[1].bufferSize,addInteger[1].pkgIn.autoPkgBitSize,tCPIPSend[1].pkgIn.userPkgBitSize,tCPIPSend[1].pkgIn.autoPkgBitSize,addInteger[2].pkgOut[1].trigger,tCPIPReceive[2].recvTrigger,tCPIPReceive[2].conditionalInternalTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tCPIPReceive[2].pkgOut.dummy,tCPIPReceive[2].nReceivedBytes,tCPIPReceive[2].accepted,tCPIPReceive[2].bufferSize,tCPIPReceive[2].block_,getInteger[2].pkgIn.autoPkgBitSize,getInteger[2].y[1],getInteger[2].y[2],getInteger[2].y[3],getInteger[2].dummy,packager[2].pkgOut.dummy,addInteger[2].pkgOut[1].dummy,addInteger[2].pkgOut[1].backwardTrigger,tCPIPSend[2].dataSent,tCPIPSend[2].accepted,tCPIPSend[2].bufferSize,tCPIPSend[2].dummy1,tCPIPSend[2].dummy2,tCPIPSend[2].pkgSize,tCPIPSend[2].block_,process[2].y[1],process[2].y[2],process[2].y[3],addInteger[1].pkgOut[1].trigger,tCPIPReceive[1].recvTrigger,tCPIPReceive[1].conditionalInternalTrigger,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,tCPIPReceive[1].pkgOut.dummy,tCPIPReceive[1].nReceivedBytes,tCPIPReceive[1].accepted,tCPIPReceive[1].bufferSize,tCPIPReceive[1].block_,getInteger[1].pkgIn.autoPkgBitSize,getInteger[1].y[1],getInteger[1].y[2],getInteger[1].y[3],getInteger[1].dummy,packager[1].pkgOut.dummy,addInteger[1].pkgOut[1].dummy,addInteger[1].pkgOut[1].backwardTrigger,tCPIPSend[1].dataSent,tCPIPSend[1].accepted,tCPIPSend[1].bufferSize,tCPIPSend[1].dummy1,tCPIPSend[1].dummy2,tCPIPSend[1].pkgSize,tCPIPSend[1].block_,process[1].y[1],process[1].y[2],process[1].y[3]) * Number of discrete states: 4 (tCPIPReceive[1].block_,tCPIPSend[1].block_,tCPIPReceive[2].block_,tCPIPSend[2].block_) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 42 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002578/0.3471, allocations: 2.168 MB / 0.5128 GB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001845/0.3489, allocations: 1.168 MB / 0.5139 GB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3489, allocations: 0 / 0.5139 GB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006161/0.3496, allocations: 392.5 kB / 0.5143 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.3502, allocations: 92.55 kB / 0.5144 GB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.3605, allocations: 6.932 MB / 0.5212 GB, free: 6.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007572/0.3613, allocations: 0.9653 MB / 0.5221 GB, free: 5.883 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000293/0.3616, allocations: 108.5 kB / 0.5222 GB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.3619, allocations: 199.4 kB / 0.5224 GB, free: 5.578 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3619, allocations: 4 kB / 0.5224 GB, free: 5.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04692/0.4088, allocations: 14.92 MB / 0.537 GB, free: 6.773 MB / 398.1 MB Error: Error building simulator. Build log: cmd: cd 'Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients.fmutmp/sources/' && mkdir build_cmake_static && cd build_cmake_static && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_static -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients.fmutmp/sources/../binaries/linux64 -- Linking rt-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libWinmm.a -- Linking pthread-NOTFOUND -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libWs2_32.a -- Linking /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: rt-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libWinmm.a;pthread-NOTFOUND;/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Library/linux64/libWs2_32.a;/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/libModelicaExternalC.a -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: pthread linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients.fmutmp/sources rt linked by target \"Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients\" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerMultipleClients/Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_TCPIPServerMultipleClients.fmutmp/sources -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.2331776348873973] Failed to read output from testmodel.py, exit status != 0: 0.8452716087922454 0.861165357 0.5407176060000001 Calling exit ...